Class CrowdDelegatingFilterProxy

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.DelegatingFilterProxy
com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy
All Implemented Interfaces:
javax.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 CrowdDelegatingFilterProxy extends org.springframework.web.filter.DelegatingFilterProxy
A springified DelagatingFilterProxy which does not attempt to wire up (and hence run) the filter unless Crowd has been setup successfully. See CrowdContextLoaderListener and BootstrappedContextLoaderListener for more details.
  • 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
    doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)
    Only doFilter if the BootstrapManager asserts that the setup process is complete.

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

    destroy, destroyDelegate, findWebApplicationContext, getContextAttribute, getTargetBeanName, initDelegate, initFilterBean, invokeDelegate, isTargetFilterLifecycle, setContextAttribute, setTargetBeanName, setTargetFilterLifecycle

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

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

    Methods inherited from class java.lang.Object

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

    • CrowdDelegatingFilterProxy

      public CrowdDelegatingFilterProxy()
  • Method Details

    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, IOException
      Only doFilter if the BootstrapManager asserts that the setup process is complete.
      Specified by:
      doFilter in interface javax.servlet.Filter
      Overrides:
      doFilter in class org.springframework.web.filter.DelegatingFilterProxy
      Parameters:
      request - servlet request.
      response - servlet response.
      filterChain - filter chain.
      Throws:
      javax.servlet.ServletException - error occured.
      IOException - error occured.