org.apache.sling.auth.core.impl
Class LoginServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by org.apache.sling.api.servlets.SlingSafeMethodsServlet
          extended by org.apache.sling.api.servlets.SlingAllMethodsServlet
              extended by org.apache.sling.auth.core.impl.LoginServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

@Service(value=javax.servlet.Servlet.class)
@Properties(value={@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

The LoginServlet lets the Authenticator do the login.

See Also:
Serialized Form

Field Summary
static java.lang.String SERVLET_PATH
          The servlet is registered on this path, and the authenticator allows any requests to that path, without authentication
 
Constructor Summary
LoginServlet()
           
 
Method Summary
protected  void service(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
           
 
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
doDelete, doPost, doPut, getAllowedRequestMethods, isMethodValid, mayService
 
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVLET_PATH

@Property(name="sling.servlet.paths")
public static final java.lang.String SERVLET_PATH
The servlet is registered on this path, and the authenticator allows any requests to that path, without authentication

See Also:
Constant Field Values
Constructor Detail

LoginServlet

public LoginServlet()
Method Detail

service

protected void service(org.apache.sling.api.SlingHttpServletRequest request,
                       org.apache.sling.api.SlingHttpServletResponse response)
                throws java.io.IOException
Overrides:
service in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Throws:
java.io.IOException


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.