public class AuthenticationFormServlet
extends org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
AuthenticationFormServlet
provides the default login form
used for Form Based Authentication.Modifier and Type | Field and Description |
---|---|
static String |
AUTH_REQUIREMENTS |
static String |
SERVLET_PATH |
Constructor and Description |
---|
AuthenticationFormServlet() |
Modifier and Type | Method and Description |
---|---|
protected String |
getReason(javax.servlet.http.HttpServletRequest request)
Returns an informational message according to the value provided in the
j_reason request parameter. |
doGet, doPost, getContextPath, getCustomFormPath, getDefaultFormPath, getForm, getResource
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String SERVLET_PATH
public static final String AUTH_REQUIREMENTS
protected String getReason(javax.servlet.http.HttpServletRequest request)
j_reason
request parameter. Supported reasons are invalid
credentials and session timeout.getReason
in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
request
- The request providing the parameterCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.