# Uses of Class
org.apache.sling.auth.core.spi.AuthenticationInfo

Packages that use AuthenticationInfo
Package
Description
org.apache.sling.auth.core
Provides the authentication helper service as well as a number of utility functions in the `AuthUtil` class.
org.apache.sling.auth.core.spi
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 AuthenticationInfo
Modifier and Type
Method
Description
`default void`
JakartaLoginEventDecorator.`decorateLoginEvent(@NotNull jakarta.servlet.http.HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull Map<String,Object> eventProperties)`
Called to allow the component to modify the login event properties
`default void`
LoginEventDecorator.`decorateLoginEvent(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull Map<String,Object> eventProperties)`
Deprecated.
Called to allow the component to modify the login event properties
`default void`
JakartaLoginEventDecorator.`decorateLoginFailedEvent(@NotNull jakarta.servlet.http.HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull Map<String,Object> eventProperties)`
Called to allow the component to modify the login failed event properties
`default void`
LoginEventDecorator.`decorateLoginFailedEvent(@NotNull javax.servlet.http.HttpServletRequest request, @NotNull AuthenticationInfo authInfo, @NotNull Map<String,Object> eventProperties)`
Deprecated.
Called to allow the component to modify the login failed event properties

## Uses of AuthenticationInfo in org.apache.sling.auth.core.spi

Fields in org.apache.sling.auth.core.spi declared as AuthenticationInfo
Modifier and Type
Field
Description
`static final AuthenticationInfo`
AuthenticationInfo.`DOING_AUTH`
A special instance of this class which may be returned from the `JakartaAuthenticationHandler.extractCredentials(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)` method to inform the caller, that a response has been sent to the client to request for credentials.
`static final AuthenticationInfo`
AuthenticationInfo.`FAIL_AUTH`
A special instance of this class which may be returned from the `JakartaAuthenticationHandler.extractCredentials(jakarta.servlet.http.HttpServletRequest, jakarta.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 AuthenticationInfo
Modifier and Type
Method
Description
`AuthenticationInfo`
AuthenticationHandler.`extractCredentials(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
Deprecated.
Use `JakartaAuthenticationHandler`
`AuthenticationInfo`
JakartaAuthenticationHandler.`extractCredentials(jakarta.servlet.http.HttpServletRequest request, jakarta.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 AuthenticationInfo
Modifier and Type
Method
Description
`void`
AuthenticationFeedbackHandler.`authenticationFailed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
Deprecated.
Called if authentication failed with the credentials provided in the `authInfo` map.
`void`
DefaultAuthenticationFeedbackHandler.`authenticationFailed(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
Deprecated.
This default implementation does nothing.
`void`
DefaultJakartaAuthenticationFeedbackHandler.`authenticationFailed(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
This default implementation does nothing.
`void`
JakartaAuthenticationFeedbackHandler.`authenticationFailed(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
Called if authentication failed with the credentials provided in the `authInfo` map.
`boolean`
AuthenticationFeedbackHandler.`authenticationSucceeded(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
Deprecated.
Called if authentication succeeded with the credentials provided in the `authInfo` map.
`boolean`
DefaultAuthenticationFeedbackHandler.`authenticationSucceeded(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
Deprecated.
This default implementation calls the `DefaultAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse)` method to optionally redirect the request after successful authentication.
`boolean`
DefaultJakartaAuthenticationFeedbackHandler.`authenticationSucceeded(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
This default implementation calls the `DefaultJakartaAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse)` method to optionally redirect the request after successful authentication.
`boolean`
JakartaAuthenticationFeedbackHandler.`authenticationSucceeded(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, AuthenticationInfo authInfo)`
Called if authentication succeeded with the credentials provided in the `authInfo` map.
`void`
AuthenticationInfoPostProcessor.`postProcess(AuthenticationInfo info, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)`
Deprecated.
Perform some post-processing on the AuthenticationInfo object.
`void`
JakartaAuthenticationInfoPostProcessor.`postProcess(AuthenticationInfo info, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)`
Perform some post-processing on the AuthenticationInfo object.