|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet org.apache.sling.auth.selector.SelectorFormServlet
@Properties(value={@Property(name="service.vendor",value="The Apache Software Foundation"),@Property(name="service.description",value="Default Login Form for the Authenticator Selector")}) @Service(value=javax.servlet.Servlet.class) public class SelectorFormServlet
The SelectorFormServlet
provides the default login form used for
Form Based or OpenID Authentication.
Field Summary |
---|
Fields inherited from class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet |
---|
CUSTOM_FORM_PATH, DEFAULT_FORM_PATH |
Constructor Summary | |
---|---|
SelectorFormServlet()
|
Method Summary | |
---|---|
protected String |
getForm(javax.servlet.http.HttpServletRequest request)
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. |
protected String |
getReason(javax.servlet.http.HttpServletRequest request)
Returns an informational message according to the value provided in the j_reason request parameter. |
Methods inherited from class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet |
---|
doGet, doPost, getContextPath, getCustomFormPath, getDefaultFormPath, getResource |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectorFormServlet()
Method Detail |
---|
protected String getForm(javax.servlet.http.HttpServletRequest request) throws IOException
AbstractAuthenticationFormServlet
getForm
in class AbstractAuthenticationFormServlet
request
- The request providing parameters indicating the
informational message and redirection target.
IOException
- If the login form cannot be loadedprotected String getReason(javax.servlet.http.HttpServletRequest request)
j_reason
request parameter. Supported reasons are invalid
credentials and session timeout.
getReason
in class AbstractAuthenticationFormServlet
request
- The request providing the parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |