Uses of Class
org.apache.sling.auth.core.spi.AuthenticationInfo
Packages that use AuthenticationInfo
Package
Description
Provides the authentication helper service as well as a number
of utility functions in the
AuthUtil
class.Provides API to be implemented by provides of authentication
mechanisms.
-
Uses of AuthenticationInfo in org.apache.sling.auth.core
Methods in org.apache.sling.auth.core with parameters of type AuthenticationInfoModifier and TypeMethodDescriptiondefault voidLoginEventDecorator.decorateLoginEvent(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull Map<String, Object> eventProperties) Called to allow the component to modify the login event propertiesdefault voidLoginEventDecorator.decorateLoginFailedEvent(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull Map<String, Object> eventProperties) Called to allow the component to modify the login failed event properties -
Uses of AuthenticationInfo in org.apache.sling.auth.core.impl.engine
Methods in org.apache.sling.auth.core.impl.engine that return AuthenticationInfoModifier and TypeMethodDescriptionEngineAuthenticationHandlerHolder.doExtractCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
Uses of AuthenticationInfo in org.apache.sling.auth.core.spi
Fields in org.apache.sling.auth.core.spi declared as AuthenticationInfoModifier and TypeFieldDescriptionstatic final AuthenticationInfoAuthenticationInfo.DOING_AUTHA special instance of this class which may be returned from theAuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)method to inform the caller, that a response has been sent to the client to request for credentials.static final AuthenticationInfoAuthenticationInfo.FAIL_AUTHA special instance of this class which may be returned from theAuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)method to inform the caller that credential extraction failed for some reason.Methods in org.apache.sling.auth.core.spi that return AuthenticationInfoModifier and TypeMethodDescriptionAuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Extracts credential data from the request if at all contained.Methods in org.apache.sling.auth.core.spi with parameters of type AuthenticationInfoModifier and TypeMethodDescriptionvoidAuthenticationFeedbackHandler.authenticationFailed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo) Called if authentication failed with the credentials provided in theauthInfomap.voidDefaultAuthenticationFeedbackHandler.authenticationFailed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo) This default implementation does nothing.booleanAuthenticationFeedbackHandler.authenticationSucceeded(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo) Called if authentication succeeded with the credentials provided in theauthInfomap.booleanDefaultAuthenticationFeedbackHandler.authenticationSucceeded(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo) This default implementation calls theDefaultAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse)method to optionally redirect the request after successful authentication.voidAuthenticationInfoPostProcessor.postProcess(AuthenticationInfo info, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Perform some post-processing on the AuthenticationInfo object.