Class CasSingleSignOutFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.jenkinsci.plugins.cas.spring.security.CasSingleSignOutFilter
All Implemented Interfaces:
jakarta.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public class CasSingleSignOutFilter extends org.springframework.web.filter.GenericFilterBean
CAS Single Sign-Out filter with support for a URL path matching.
Author:
Fabien Crespel
  • Field Summary

    Fields inherited from class org.springframework.web.filter.GenericFilterBean

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain)
     
     
    org.apereo.cas.client.session.SingleSignOutHandler
     
    boolean
     
    protected boolean
    requiresProcessing(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    setEnabled(boolean enabled)
     
    void
    setFilterProcessesUrl(String filterProcessesUrl)
     
    void
    setSingleSignOutHandler(org.apereo.cas.client.session.SingleSignOutHandler singleSignOutHandler)
     

    Methods inherited from class org.springframework.web.filter.GenericFilterBean

    addRequiredProperty, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    Methods inherited from class java.lang.Object

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

    • CasSingleSignOutFilter

      public CasSingleSignOutFilter()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws jakarta.servlet.ServletException
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Overrides:
      afterPropertiesSet in class org.springframework.web.filter.GenericFilterBean
      Throws:
      jakarta.servlet.ServletException
    • doFilter

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

      protected boolean requiresProcessing(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    • isEnabled

      public boolean isEnabled()
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Parameters:
      enabled - the enabled to set
    • getFilterProcessesUrl

      public String getFilterProcessesUrl()
      Returns:
      the filterProcessesUrl
    • setFilterProcessesUrl

      public void setFilterProcessesUrl(String filterProcessesUrl)
      Parameters:
      filterProcessesUrl - the filterProcessesUrl to set
    • getSingleSignOutHandler

      public org.apereo.cas.client.session.SingleSignOutHandler getSingleSignOutHandler()
      Returns:
      the singleSignOutHandler
    • setSingleSignOutHandler

      public void setSingleSignOutHandler(org.apereo.cas.client.session.SingleSignOutHandler singleSignOutHandler)
      Parameters:
      singleSignOutHandler - the singleSignOutHandler to set