Interface CredentialsExtractor

    • Method Detail

      • extract

        java.util.Optional<Credentials> extract​(WebContext context,
                                                SessionStore sessionStore)
        Extract the Credentials from a WebContext and return Optional.empty() if no credentials are present or throw a CredentialsException if it cannot get it.
        Parameters:
        context - the current web context
        sessionStore - the session store
        Returns:
        the credentials (optional)