Class OAuthLogoutFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
io.meeds.oauth.filter.OAuthLogoutFilter
All Implemented Interfaces:
jakarta.servlet.Filter, org.gatein.sso.agent.filter.api.SSOInterceptor

public class OAuthLogoutFilter extends org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.exoplatform.services.log.Log
     
    static final String
     

    Fields inherited from class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor

    PORTAL_CONTAINER_SUBSTITUTION_PATTERN

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

    config, servletContextName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain filterChain)
     
    protected <T> T
    getService(Class<T> clazz)
     
    protected void
     
    static boolean
    isOAuthLogoutInProgress(jakarta.servlet.http.HttpServletRequest request)
     
    static boolean
    isPortalLogoutInProgress(jakarta.servlet.http.HttpServletRequest request)
     

    Methods inherited from class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor

    afterInit, getExoContainer, getInitParameter, initWithParams

    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, init
  • Field Details

    • LOG

      protected final org.exoplatform.services.log.Log LOG
    • OAUTH_LOGOUT_ATTRIBUTE

      public static final String OAUTH_LOGOUT_ATTRIBUTE
      See Also:
  • Constructor Details

    • OAuthLogoutFilter

      public OAuthLogoutFilter()
  • Method Details

    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, jakarta.servlet.FilterChain filterChain) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getService

      protected <T> T getService(Class<T> clazz)
    • isPortalLogoutInProgress

      public static boolean isPortalLogoutInProgress(jakarta.servlet.http.HttpServletRequest request)
    • initImpl

      protected void initImpl()
      Specified by:
      initImpl in class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
    • isOAuthLogoutInProgress

      public static boolean isOAuthLogoutInProgress(jakarta.servlet.http.HttpServletRequest request)