com.atlassian.crowd.console.filter
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.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, 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.
Fields inherited from class org.springframework.web.filter.GenericFilterBean |
logger |
Method Summary |
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, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, setBeanName, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrowdDelegatingFilterProxy
public CrowdDelegatingFilterProxy()
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
java.io.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.
java.io.IOException
- error occured.
Copyright © 2010 Atlassian. All Rights Reserved.