Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAuthenticationFormServlet - Class in org.apache.sling.auth.core.spi
-
Deprecated.
- AbstractAuthenticationFormServlet() - Constructor for class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.
- AbstractAuthenticationHandler - Class in org.apache.sling.auth.core.spi
-
Deprecated.since Bundle 1.0.8;
AuthenticationHandlerimplementations should extendDefaultAuthenticationFeedbackHandlerdirectly and use the utility methods in theAuthUtilclass. - AbstractAuthenticationHandler() - Constructor for class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.
- AbstractJakartaAuthenticationFormServlet - Class in org.apache.sling.auth.core.spi
-
The
AbstractJakartaAuthenticationFormServletprovides a basic implementation of a simple servlet to render a login form for authentication purposes. - AbstractJakartaAuthenticationFormServlet() - Constructor for class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
- ACCOUNT_LOCKED - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Account is locked or disabled
- ACCOUNT_NOT_FOUND - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Account was not found
- ATTR_REQUEST_AUTH_URI_SUFFIX - Static variable in class org.apache.sling.auth.core.AuthConstants
-
The name of the request attribute containing the list of request URI suffixes handled by the default authenticator
org.apache.sling.auth.core.impl.SlingAuthenticator. - AUTH_HANDLER_BROWSER_ONLY - Static variable in class org.apache.sling.auth.core.AuthConstants
-
Service Registration property which may be set by an
JakartaAuthenticationHandlerservice to indicate whether itsJakartaAuthenticationHandler.requestCredentials(HttpServletRequest, HttpServletResponse)method supports non-browser requests (according toAuthUtil.isBrowserRequest(HttpServletRequest)or not. - AUTH_INFO_LOGIN - Static variable in class org.apache.sling.auth.core.AuthConstants
-
Marker property in the
AuthenticationInfoobject returned by theJakartaAuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse)method indicating a first authentication considered to be a login. - AUTH_REQUIREMENTS - Static variable in class org.apache.sling.auth.core.AuthConstants
-
Any OSGi service may provide a
sling.auth.requirementsregistration property which is used to dynamically extend the authentication requirements for theAuthenticationSupport. - AUTH_TYPE - Static variable in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
The name of the special property providing the authentication type provided by the
JakartaAuthenticationHandler. - AuthConstants - Class in org.apache.sling.auth.core
-
The
AuthConstantsprovides a collection of constants used to configure and customize the Sling authentication infrastructure. - authenticate(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
-
Deprecated.Extracts credential data from the request if at all contained.
- authenticationFailed(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in class org.apache.sling.auth.core.spi.DefaultJakartaAuthenticationFeedbackHandler
-
This default implementation does nothing.
- authenticationFailed(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in interface org.apache.sling.auth.core.spi.JakartaAuthenticationFeedbackHandler
-
Called if authentication failed with the credentials provided in the
authInfomap. - authenticationFailed(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in interface org.apache.sling.auth.core.spi.AuthenticationFeedbackHandler
-
Deprecated.Called if authentication failed with the credentials provided in the
authInfomap. - authenticationFailed(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
-
Deprecated.This default implementation does nothing.
- AuthenticationFeedbackHandler - Interface in org.apache.sling.auth.core.spi
-
Deprecated.Use
JakartaAuthenticationFeedbackHandlerinstead - AuthenticationHandler - Interface in org.apache.sling.auth.core.spi
-
The
AuthenticationHandlerinterface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request. - AuthenticationHandler - Interface in org.apache.sling.engine.auth
-
Deprecated.use
AuthenticationHandlerinstead - AuthenticationHandler.FAILURE_REASON_CODES - Enum Class in org.apache.sling.auth.core.spi
-
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 expired - AuthenticationInfo - Class in org.apache.sling.auth.core.spi
-
The
AuthenticationInfoconveys any authentication credentials and/or details extracted by theJakartaAuthenticationHandler.extractCredentials(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)method from the request. - AuthenticationInfo - Class in org.apache.sling.engine.auth
-
Deprecated.
- AuthenticationInfo(String) - Constructor for class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Creates an instance of this class with just the authentication type.
- AuthenticationInfo(String, String) - Constructor for class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Creates an instance of this class authenticating with the given type and userid.
- AuthenticationInfo(String, String, char[]) - Constructor for class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Creates an instance of this class authenticating with the given type and userid/password connecting.
- AuthenticationInfo(String, Credentials) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
-
Deprecated.Creates an instance of this class with the given authentication type and credentials connecting to the default workspace as if the
AuthenticationInfo(String, Credentials, String)method would be called with anullworkspace name. - AuthenticationInfo(String, Credentials, String) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
-
Deprecated.Creates an instance of this class with the given authentication type and credentials.
- AuthenticationInfoPostProcessor - Interface in org.apache.sling.auth.core.spi
-
Deprecated.Use
JakartaAuthenticationInfoPostProcessorinstead - authenticationSucceeded(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in class org.apache.sling.auth.core.spi.DefaultJakartaAuthenticationFeedbackHandler
-
This default implementation calls the
DefaultJakartaAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse)method to optionally redirect the request after successful authentication. - authenticationSucceeded(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in interface org.apache.sling.auth.core.spi.JakartaAuthenticationFeedbackHandler
-
Called if authentication succeeded with the credentials provided in the
authInfomap. - authenticationSucceeded(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in interface org.apache.sling.auth.core.spi.AuthenticationFeedbackHandler
-
Deprecated.Called if authentication succeeded with the credentials provided in the
authInfomap. - authenticationSucceeded(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
-
Deprecated.This default implementation calls the
DefaultAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse)method to optionally redirect the request after successful authentication. - AuthenticationSupport - Interface in org.apache.sling.auth.core
-
The
AuthenticationSupportprovides the service API used to implement theServletContextHelper.handleSecuritymethod as defined in the OSGi Whiteboard Specification for Jakarta Servlet. - Authenticator - Interface in org.apache.sling.engine.auth
-
Deprecated.use
AuthenticationSupportinstead - AuthUtil - Class in org.apache.sling.auth.core
-
The
AuthUtilprovides utility functions for implementations ofJakartaAuthenticationHandlerservices and users of the Sling authentication infrastructure.
C
- checkReferer(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Check if the request is for this authentication handler.
- checkReferer(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- clear() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Clears all properties from the map with the exception of the
AuthenticationInfo.AUTH_TYPEproperty. - CUSTOM_FORM_PATH - Static variable in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.The path to the custom login form.
- CUSTOM_FORM_PATH - Static variable in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
The path to the custom login form.
D
- decorateLoginEvent(HttpServletRequest, AuthenticationInfo, Map<String, Object>) - Method in interface org.apache.sling.auth.core.JakartaLoginEventDecorator
-
Called to allow the component to modify the login event properties
- decorateLoginEvent(HttpServletRequest, AuthenticationInfo, Map<String, Object>) - Method in interface org.apache.sling.auth.core.LoginEventDecorator
-
Deprecated.Called to allow the component to modify the login event properties
- decorateLoginFailedEvent(HttpServletRequest, AuthenticationInfo, Map<String, Object>) - Method in interface org.apache.sling.auth.core.JakartaLoginEventDecorator
-
Called to allow the component to modify the login failed event properties
- decorateLoginFailedEvent(HttpServletRequest, AuthenticationInfo, Map<String, Object>) - Method in interface org.apache.sling.auth.core.LoginEventDecorator
-
Deprecated.Called to allow the component to modify the login failed event properties
- DEFAULT_FORM_PATH - Static variable in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.The path to the default login form.
- DEFAULT_FORM_PATH - Static variable in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
The path to the default login form.
- DefaultAuthenticationFeedbackHandler - Class in org.apache.sling.auth.core.spi
-
Deprecated.Use
JakartaAuthenticationFeedbackHandlerinstead - DefaultAuthenticationFeedbackHandler() - Constructor for class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
-
Deprecated.
- DefaultJakartaAuthenticationFeedbackHandler - Class in org.apache.sling.auth.core.spi
-
Default implementation of an authentication feedback handler.
- DefaultJakartaAuthenticationFeedbackHandler() - Constructor for class org.apache.sling.auth.core.spi.DefaultJakartaAuthenticationFeedbackHandler
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Prepares and returns the login form.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Prepares and returns the login form.
- DOING_AUTH - Static variable in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
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. - DOING_AUTH - Static variable in class org.apache.sling.engine.auth.AuthenticationInfo
-
Deprecated.This object is returned by the
AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)method to indicate an ongoing authentication transaction. - doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Prepares and returns the login form.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Prepares and returns the login form.
- dropCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
Drops any credential and authentication details from the request and asks the client to do the same.
- dropCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
E
- EXPIRED_TOKEN - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
The token credentials used have expired
- extractCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
Extracts credential data from the request if at all contained.
- extractCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
F
- FAIL_AUTH - Static variable in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
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. - FAILURE_REASON - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
- FAILURE_REASON - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
Name of the request attribute which may be set by the
JakartaAuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse)method ifAuthenticationInfo.FAIL_AUTHis returned. - FAILURE_REASON_CODE - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
- FAILURE_REASON_CODE - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
Name of the request attribute which may be set by the
JakartaAuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse)method ifAuthenticationInfo.FAIL_AUTHis returned. - finishSecurity(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.AuthenticationSupport
-
Handles security on behalf of a custom OSGi
ServletContextHelperinstance, finishing the authentication context established byAuthenticationSupport.handleSecurity(HttpServletRequest, HttpServletResponse).
G
- getAttributeOrParameter(HttpServletRequest, String, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Returns the value of the named request attribute or parameter as a string as follows: If there is a request attribute of that name, which is a non-empty string, it is returned. If there is a non-empty request parameter of that name, this parameter is returned.
- getAttributeOrParameter(HttpServletRequest, String, String) - Static method in class org.apache.sling.auth.core.AuthUtil
- getAttributeOrParameter(HttpServletRequest, String, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.getAttributeOrParameter(HttpServletRequest, String, String) - getAuthType() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Returns the authentication type as stored in the
AuthenticationInfo.AUTH_TYPEproperty in this map. - getAuthType() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
-
Deprecated.Returns type of authentication provisioning.
- getContextPath(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Returns the context path for the authentication form request.
- getContextPath(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Returns the context path for the authentication form request.
- getCredentials() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
-
Deprecated.Returns the credentials extracted from the client request to use for authentication.
- getCustomFormPath() - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Returns the path to the custom login form to load through the class loader of this instance using
Class.getResourceAsStream. - getCustomFormPath() - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Returns the path to the custom login form to load through the class loader of this instance using
Class.getResourceAsStream. - getDefaultFormPath() - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Returns the path to the default login form to load through the class loader of this instance using
Class.getResourceAsStream. - getDefaultFormPath() - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Returns the path to the default login form to load through the class loader of this instance using
Class.getResourceAsStream. - getForm(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Returns the form to be sent back to the client for login providing an optional informational message and the optional target to redirect to after successfully logging in.
- getForm(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Returns the form to be sent back to the client for login providing an optional informational message and the optional target to redirect to after successfully logging in.
- getLoginResource(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Returns any resource target to redirect to after successful authentication.
- getLoginResource(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- getLoginResource(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.getLoginResource(HttpServletRequest, String) - getPassword() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Returns the password stored as the
ResourceResolverFactory.PASSWORDproperty ornullif the password is not set in this map. - getReason(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Returns an informational message according to the value provided in the
j_reasonrequest parameter. - getReason(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Returns an informational message according to the value provided in the
j_reasonrequest parameter. - getResource(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractJakartaAuthenticationFormServlet
-
Returns the path to the resource to which the request should be redirected after successfully completing the form or an empty string if there is no
resourcerequest parameter. - getResource(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
Deprecated.Returns the path to the resource to which the request should be redirected after successfully completing the form or an empty string if there is no
resourcerequest parameter. - getUser() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Returns the user name stored as the
ResourceResolverFactory.USERproperty ornullif the user is not set in this map. - getWorkspaceName() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
-
Deprecated.Returns the name of the workspace the user contained in this instance wishes to connect to.
H
- handleRedirect(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.DefaultJakartaAuthenticationFeedbackHandler
-
Handles an optional request for a redirect after successful authentication and
trueif the request has been redirected. - handleRedirect(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
-
Deprecated.Handles an optional request for a redirect after successful authentication and
trueif the request has been redirected. - handleSecurity(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.AuthenticationSupport
-
Handles security on behalf of a custom OSGi
ServletContextHelperinstance extracting credentials from the request using any registeredAuthenticationHandlerservices. - handleSecurity(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.AuthenticationSupport
I
- INVALID_LOGIN - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Login is invald
- isAjaxRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Returns
trueif the request is to be considered an AJAX request placed using theXMLHttpRequestbrowser host object. - isAjaxRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- isBrowserRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Returns
trueif the given request can be assumed to be sent by a client browser such as Firefix, Internet Explorer, etc. - isBrowserRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- isRedirectValid(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Returns
trueif the given redirecttargetis valid according to the following list of requirements: Thetargetis neithernullnor an empty string Thetargetis not an URL which is identified by the character sequence://separating the scheme from the host Thetargetis normalized such that it contains no consecutive slashes and no path segment contains a single or double dot Thetargetmust be prefixed with the servlet context path If aResourceResolveris available as a request attribute thetarget(without the servlet context path prefix) must resolve to an existing resource If aResourceResolveris not available as a request attribute thetargetmust be an absolute path starting with a slash character does not contain any of the characters<,>,', or"in plain or URL encoding - isRedirectValid(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- isRedirectValid(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.This method has been introduced after Bundle release 1.0.6 but has been replaced with
AuthUtil.isRedirectValid(HttpServletRequest, String). Use the latter method. - isValidateRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Returns
trueif the the client just asks for validation of submitted username/password credentials. - isValidateRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- isValidateRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.isValidateRequest(HttpServletRequest)
J
- JakartaAuthenticationFeedbackHandler - Interface in org.apache.sling.auth.core.spi
-
The
AuthenticationFeedbackHandlermay be implemented byAuthenticationHandlerservices to request being informed on the success or failure of authentication. - JakartaAuthenticationHandler - Interface in org.apache.sling.auth.core.spi
-
The
AuthenticationHandlerinterface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request. - JakartaAuthenticationInfoPostProcessor - Interface in org.apache.sling.auth.core.spi
-
Service interface which allows bundles to modify the
AuthenticationInfoobject right after oneAuthenticationHandlerhas returned an {AuthenticationInfofrom theJakartaAuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse)method or an anonymousAuthenticationInfohas been created. - JakartaLoginEventDecorator - Interface in org.apache.sling.auth.core
-
Components should implement this interface to customize properties in the Login and/or LoginFailed event
L
- login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.Authenticator
-
Deprecated.Finds an
AuthenticationHandlerfor the given request and call itsAuthenticationHandler.requestAuthentication(HttpServletRequest, HttpServletResponse)method to initiate an authentication process with the client to login to Sling. - LoginEventDecorator - Interface in org.apache.sling.auth.core
-
Deprecated.Use
JakartaLoginEventDecoratorinstead
N
- NoAuthenticationHandlerException - Exception in org.apache.sling.engine.auth
-
Deprecated.see
Authenticator - NoAuthenticationHandlerException() - Constructor for exception org.apache.sling.engine.auth.NoAuthenticationHandlerException
-
Deprecated.Default constructor for the
NoAuthenticationHandlerException.
O
- org.apache.sling.auth.core - package org.apache.sling.auth.core
-
Provides the authentication helper service as well as a number of utility functions in the
AuthUtilclass. - org.apache.sling.auth.core.spi - package org.apache.sling.auth.core.spi
-
Provides API to be implemented by provides of authentication mechanisms.
- org.apache.sling.engine.auth - package org.apache.sling.engine.auth
-
Provides the original authentication handler service API initially bundled with the Sling Engine bundle.
P
- PAR_J_VALIDATE - Static variable in class org.apache.sling.auth.core.AuthConstants
-
The name of the request parameter indicating that the submitted username and password should just be checked and a status code be set for success (200/OK) or failure (403/FORBIDDEN).
- PASSWORD_EXPIRED - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Password has expired
- PASSWORD_EXPIRED_AND_NEW_PASSWORD_IN_HISTORY - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Password has expired and a new password is in history
- PATH_PROPERTY - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
- PATH_PROPERTY - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
The name of the service registration property listing one or more URL paths for which the authentication handler is to be used.
- PATH_PROPERTY - Static variable in interface org.apache.sling.engine.auth.AuthenticationHandler
-
Deprecated.An authentication handler is associated with url paths.
- postProcess(AuthenticationInfo, HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.JakartaAuthenticationInfoPostProcessor
-
Perform some post-processing on the AuthenticationInfo object.
- postProcess(AuthenticationInfo, HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationInfoPostProcessor
-
Deprecated.Perform some post-processing on the AuthenticationInfo object.
- put(String, Object) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Sets or resets a property with the given
keyto a newvalue.
R
- REDIRECT_PARAMETER - Static variable in interface org.apache.sling.auth.core.AuthenticationSupport
-
The name of the request parameter indicating where to redirect to after successful authentication (and optional impersonation).
- remove(Object) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
-
Removes the entry with the given
keyand returns its former value (if existing). - REQUEST_ATTRIBUTE_RESOLVER - Static variable in interface org.apache.sling.auth.core.AuthenticationSupport
-
The name of the request attribute set by the
AuthenticationSupport.handleSecurity(HttpServletRequest, HttpServletResponse)method if authentication succeeds andtrueis returned. - REQUEST_LOGIN_PARAMETER - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
- REQUEST_LOGIN_PARAMETER - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
The request parameter which may be used to explicitly select an authentication handler by its
typeif authentication will be requested throughJakartaAuthenticationHandler.requestCredentials(HttpServletRequest, HttpServletResponse). - requestAuthentication(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
-
Deprecated.Requests authentication information from the client.
- requestCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
Requests authentication information from the client.
- requestCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
S
- sendInvalid(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Sends a 403/FORBIDDEN response optionally stating the reason for this response code in the
AuthConstants.X_REASONheader. - sendInvalid(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- sendInvalid(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.sendInvalid(HttpServletRequest, HttpServletResponse) - sendRedirect(HttpServletRequest, HttpServletResponse, String, Map<String, String>) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Redirects to the given target path appending any parameters provided in the parameter map.
- sendRedirect(HttpServletRequest, HttpServletResponse, String, Map<String, String>) - Static method in class org.apache.sling.auth.core.AuthUtil
- sendRedirect(HttpServletRequest, HttpServletResponse, String, Map<String, String>) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.sendRedirect(HttpServletRequest, HttpServletResponse, String, Map) - sendValid(HttpServletResponse) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Sends a 200/OK response to a credential validation request.
- sendValid(HttpServletResponse) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- sendValid(HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.sendValid(HttpServletResponse) - SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.AuthenticationSupport
-
The name under which this service is registered.
- SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
- SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationInfoPostProcessor
-
Deprecated.The name under which an implementation of this interface must be registered to be used as an authentication info post processor.
- SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
The name under which an implementation of this interface must be registered to be used as an authentication handler.
- SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationInfoPostProcessor
-
The name under which an implementation of this interface must be registered to be used as an authentication info post processor.
- setAuthType(String) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
- setLoginResourceAttribute(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Ensures and returns the
Authenticator.LOGIN_RESOURCErequest attribute is set to a non-null, non-empty string. - setLoginResourceAttribute(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
-
Deprecated.
- setLoginResourceAttribute(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
-
Deprecated.since Bundle 1.0.8, use
AuthUtil.setLoginResourceAttribute(HttpServletRequest, String) - setPassword(char[]) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
- setUser(String) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
T
- TOPIC_LOGIN - Static variable in class org.apache.sling.auth.core.AuthConstants
-
The topic for the OSGi event which is sent when a user has logged in successfully.
- TOPIC_LOGIN_FAILED - Static variable in class org.apache.sling.auth.core.AuthConstants
-
The topic for the OSGi event which is sent when a user has failed to login successfully.
- toString() - Method in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
- TYPE_PROPERTY - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
-
Deprecated.
- TYPE_PROPERTY - Static variable in interface org.apache.sling.auth.core.spi.JakartaAuthenticationHandler
-
The name of the service registration property (single string) providing the authentication type of authentication handler.
U
- UNKNOWN - Enum constant in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Unknown reason
V
- valueOf(String) - Static method in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- X_REASON - Static variable in class org.apache.sling.auth.core.AuthConstants
-
The name of the request header set by the
AuthUtil.sendInvalid(HttpServletRequest, HttpServletResponse)method if the provided credentials cannot be used for login. - X_REASON_CODE - Static variable in class org.apache.sling.auth.core.AuthConstants
-
The name of the request header set by the
AuthUtil.sendInvalid(HttpServletRequest, HttpServletResponse)method if the provided credentials cannot be used for login.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AbstractJakartaAuthenticationFormServlet