@Service(value=javax.servlet.Servlet.class)
@Property(name="service.description",value="Authenticator Login Servlet") @Property(name="service.vendor",value="The Apache Software Foundation") @Property(name="sling.servlet.methods",value={"GET","POST"})
public class LoginServlet
extends org.apache.sling.api.servlets.SlingAllMethodsServlet
LoginServlet
lets the Authenticator do the login.Modifier and Type | Field and Description |
---|---|
static String |
SERVLET_PATH
The servlet is registered on this path, and the authenticator allows any
requests to that path, without authentication
|
Constructor and Description |
---|
LoginServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
service(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
doDelete, doPost, doPut, getAllowedRequestMethods, isMethodValid, mayService
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service
@Property(name="sling.servlet.paths") public static final String SERVLET_PATH
protected void service(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
service
in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.