@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
extends org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
SelectorFormServlet
provides the default login form used for
Form Based or OpenID Authentication.Constructor and Description |
---|
SelectorFormServlet() |
Modifier and Type | Method and Description |
---|---|
protected String |
getForm(javax.servlet.http.HttpServletRequest request) |
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, getResource
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected String getForm(javax.servlet.http.HttpServletRequest request) throws IOException
getForm
in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
IOException
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–2014 The Apache Software Foundation. All rights reserved.