Package | Description |
---|---|
org.apache.sling.auth.core.spi |
Provides API to be implemented by provides of authentication
mechanisms.
|
Modifier and Type | Field and Description |
---|---|
static AuthenticationInfo |
AuthenticationInfo.DOING_AUTH
A special instance of this class which may be returned from the
AuthenticationHandler.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 AuthenticationInfo |
AuthenticationInfo.FAIL_AUTH
A special instance of this class which may be returned from the
AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
method to inform the caller that credential extraction failed for some
reason. |
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Extracts credential data from the request if at all contained.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultAuthenticationFeedbackHandler.authenticationFailed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationInfo authInfo)
This default implementation does nothing.
|
void |
AuthenticationFeedbackHandler.authenticationFailed(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationInfo authInfo)
Called if authentication failed with the credentials provided in the
authInfo map. |
boolean |
DefaultAuthenticationFeedbackHandler.authenticationSucceeded(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AuthenticationInfo authInfo)
This default implementation calls the
DefaultAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse) method
to optionally redirect the request after successful authentication. |
boolean |
AuthenticationFeedbackHandler.authenticationSucceeded(javax.servlet.http.HttpServletRequest request,
javax.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)
Perform some post-processing on the AuthenticationInfo object.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.