Package org.apache.sling.auth.core.spi
@Version("1.3.1")
package org.apache.sling.auth.core.spi
Provides API to be implemented by provides of authentication
mechanisms. The most important interface (and service definition) is
the
JakartaAuthenticationHandler
interface with the
DefaultJakartaAuthenticationFeedbackHandler
being an abstract base implementation from which concrete
implementations may inherit.- Version:
- 1.3.1
-
ClassDescriptionDeprecated.Deprecated.since Bundle 1.0.8;
AuthenticationHandlerimplementations should extendDefaultAuthenticationFeedbackHandlerdirectly and use the utility methods in theAuthUtilclass.TheAbstractJakartaAuthenticationFormServletprovides a basic implementation of a simple servlet to render a login form for authentication purposes.Deprecated.UseJakartaAuthenticationFeedbackHandlerinsteadTheAuthenticationHandlerinterface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request.This enum indicates the supported detailed login failure reason codes:invalid_login: indicates username/password mismatch.password_expired: indicates password has expired or was never set and change initial password is enabledaccount_locked: the account was disabled or lockedaccount_not_found: the account was not found (not the same as username password mismatch)expired_token: the token credentials used have expiredTheAuthenticationInfoconveys any authentication credentials and/or details extracted by theJakartaAuthenticationHandler.extractCredentials(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)method from the request.Deprecated.UseJakartaAuthenticationInfoPostProcessorinsteadDeprecated.UseJakartaAuthenticationFeedbackHandlerinsteadDefault implementation of an authentication feedback handler.TheAuthenticationFeedbackHandlermay be implemented byAuthenticationHandlerservices to request being informed on the success or failure of authentication.TheAuthenticationHandlerinterface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request.Service interface which allows bundles to modify theAuthenticationInfoobject right after oneAuthenticationHandlerhas returned an {AuthenticationInfofrom theJakartaAuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse)method or an anonymousAuthenticationInfohas been created.
AbstractJakartaAuthenticationFormServlet