hudson.security
Class HttpSessionContextIntegrationFilter2

java.lang.Object
  extended by org.acegisecurity.context.HttpSessionContextIntegrationFilter
      extended by hudson.security.HttpSessionContextIntegrationFilter2
All Implemented Interfaces:
javax.servlet.Filter, org.springframework.beans.factory.InitializingBean

public class HttpSessionContextIntegrationFilter2
extends org.acegisecurity.context.HttpSessionContextIntegrationFilter

Erases the SecurityContext persisted in HttpSession if InvalidatableUserDetails.isInvalid() returns true.

See Also:
InvalidatableUserDetails

Field Summary
 
Fields inherited from class org.acegisecurity.context.HttpSessionContextIntegrationFilter
ACEGI_SECURITY_CONTEXT_KEY, logger
 
Constructor Summary
HttpSessionContextIntegrationFilter2()
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
           
 
Methods inherited from class org.acegisecurity.context.HttpSessionContextIntegrationFilter
afterPropertiesSet, destroy, generateNewContext, getContext, init, isAllowSessionCreation, isCloneFromHttpSession, isForceEagerSessionCreation, setAllowSessionCreation, setCloneFromHttpSession, setContext, setForceEagerSessionCreation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionContextIntegrationFilter2

public HttpSessionContextIntegrationFilter2()
                                     throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException
Method Detail

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Overrides:
doFilter in class org.acegisecurity.context.HttpSessionContextIntegrationFilter
Throws:
IOException
javax.servlet.ServletException


Copyright © 2004-2013. All Rights Reserved.