Package | Description |
---|---|
org.apache.sling.auth.core.impl | |
org.apache.sling.auth.core.impl.engine | |
org.apache.sling.auth.core.spi |
Provides API to be implemented by provides of authentication
mechanisms.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AuthenticationInfo |
AbstractAuthenticationHandlerHolder.doExtractCredentials(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Calls the actual authentication handler to extract the credentials from
the request.
|
AuthenticationInfo |
AbstractAuthenticationHandlerHolder.extractCredentials(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sets the
AuthenticationHandler.PATH_PROPERTY request attribute to
this PathBasedHolder.fullPath and calls the
AbstractAuthenticationHandlerHolder.extractCredentials(HttpServletRequest, HttpServletResponse) to
have the credentials extracted from the request. |
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
EngineAuthenticationHandlerHolder.doExtractCredentials(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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 © 2007–2019 The Apache Software Foundation. All rights reserved.