Package org.apache.sling.auth.form.impl
Class AuthenticationFormServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
-
- org.apache.sling.auth.form.impl.AuthenticationFormServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class AuthenticationFormServlet extends org.apache.sling.auth.core.spi.AbstractAuthenticationFormServletTheAuthenticationFormServletprovides the default login form used for Form Based Authentication.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTH_REQUIREMENTSstatic StringSERVLET_PATH
-
Constructor Summary
Constructors Constructor Description AuthenticationFormServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetReason(javax.servlet.http.HttpServletRequest request)Returns an informational message according to the value provided in thej_reasonrequest parameter.-
Methods inherited from class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
doGet, doPost, getContextPath, getCustomFormPath, getDefaultFormPath, getForm, getResource
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
SERVLET_PATH
public static final String SERVLET_PATH
- See Also:
- Constant Field Values
-
AUTH_REQUIREMENTS
public static final String AUTH_REQUIREMENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReason
protected String getReason(javax.servlet.http.HttpServletRequest request)
Returns an informational message according to the value provided in thej_reasonrequest parameter. Supported reasons are invalid credentials and session timeout.- Specified by:
getReasonin classorg.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet- Parameters:
request- The request providing the parameter- Returns:
- The "translated" reason to render the login form or an empty string if there is no specific reason
-
-