Class JSFAjaxRedirectFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.exoplatform.portal.application.JSFAjaxRedirectFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class JSFAjaxRedirectFilter extends org.exoplatform.container.web.AbstractFilter
The JSFAjaxRedirectFilter performs a redirect to login page when the HTTP session is expired and the current request contains a "Faces-Request" header.
Author:
Mohammed Hannechi 27 Jan. 2017
  • 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
    void
     
    void
    doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)
     

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

    afterInit, getContainer, getServletContext, init, requirePortalEnvironment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JSFAjaxRedirectFilter

      public JSFAjaxRedirectFilter()
  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • destroy

      public void destroy()