Class RememberMeFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.exoplatform.web.login.RememberMeFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class RememberMeFilter extends org.exoplatform.container.web.AbstractFilter
The remember me filter performs an authentication using the ServletContainer when the current request is a GET request, the user is not authenticated and there is a remember me token cookie in the request.
  • Field Summary

    Fields inherited from class org.exoplatform.container.web.AbstractFilter

    config, servletContextName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterInit(jakarta.servlet.FilterConfig config)
     
    void
    begin(org.exoplatform.services.organization.OrganizationService orgService)
     
    void
    doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain chain)
     
    void
    end(org.exoplatform.services.organization.OrganizationService orgService)
     

    Methods inherited from class org.exoplatform.container.web.AbstractFilter

    getContainer, getServletContext, init, requirePortalEnvironment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.servlet.Filter

    destroy
  • Constructor Details

    • RememberMeFilter

      public RememberMeFilter()
  • Method Details

    • afterInit

      protected void afterInit(jakarta.servlet.FilterConfig config) throws jakarta.servlet.ServletException
      Overrides:
      afterInit in class org.exoplatform.container.web.AbstractFilter
      Throws:
      jakarta.servlet.ServletException
    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • begin

      public void begin(org.exoplatform.services.organization.OrganizationService orgService)
    • end

      public void end(org.exoplatform.services.organization.OrganizationService orgService)