com.googlecode.fascinator.portal.security.filter
Class FascinatorAuthenticationInterceptorFilter

java.lang.Object
  extended by org.springframework.web.filter.GenericFilterBean
      extended by org.springframework.web.filter.OncePerRequestFilter
          extended by com.googlecode.fascinator.portal.security.filter.FascinatorAuthenticationInterceptorFilter
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 FascinatorAuthenticationInterceptorFilter
extends org.springframework.web.filter.OncePerRequestFilter

Security Filter designed to pickup changes in the login status of a user and update the Spring Security Context

Author:
andrewbrazzatti

Field Summary
 
Fields inherited from class org.springframework.web.filter.OncePerRequestFilter
ALREADY_FILTERED_SUFFIX
 
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger
 
Constructor Summary
FascinatorAuthenticationInterceptorFilter()
           
 
Method Summary
protected  void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain)
           
 void setAuthManager(org.springframework.security.authentication.AuthenticationManager authManager)
           
 void setPortalSecurityManager(PortalSecurityManager portalSecurityManager)
           
 
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, shouldNotFilter
 
Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FascinatorAuthenticationInterceptorFilter

public FascinatorAuthenticationInterceptorFilter()
Method Detail

setAuthManager

public void setAuthManager(org.springframework.security.authentication.AuthenticationManager authManager)

setPortalSecurityManager

public void setPortalSecurityManager(PortalSecurityManager portalSecurityManager)

doFilterInternal

protected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                javax.servlet.FilterChain filterChain)
                         throws javax.servlet.ServletException,
                                IOException
Specified by:
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
Throws:
javax.servlet.ServletException
IOException


Copyright © 2009-2014. All Rights Reserved.