Class LogoutServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class LogoutServlet
    extends org.apache.sling.api.servlets.SlingAllMethodsServlet
    The LogoutServlet lets the Authenticator do the logout.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  LogoutServlet.Config  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SERVLET_PATH
      The servlet is registered on this path.
    • Constructor Summary

      Constructors 
      Constructor Description
      LogoutServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • LogoutServlet

        public LogoutServlet()
    • Method Detail

      • service

        protected void service​(org.apache.sling.api.SlingHttpServletRequest request,
                               org.apache.sling.api.SlingHttpServletResponse response)
        Overrides:
        service in class org.apache.sling.api.servlets.SlingSafeMethodsServlet