nl.surfnet.coin.api.shib
Class ShibRequestHeaderAuthenticationFilter

java.lang.Object
  extended by org.springframework.web.filter.GenericFilterBean
      extended by org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
          extended by org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter
              extended by nl.surfnet.coin.api.shib.ShibRequestHeaderAuthenticationFilter
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.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.web.context.ServletContextAware

public class ShibRequestHeaderAuthenticationFilter
extends org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter

Specific RequestHeaderAuthenticationFilter that interprets an empty request header as one that is not set at all.


Field Summary
 
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger
 
Constructor Summary
ShibRequestHeaderAuthenticationFilter()
           
 
Method Summary
protected  Object getPreAuthenticatedPrincipal(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter
getPreAuthenticatedCredentials, setCredentialsRequestHeader, setExceptionIfHeaderMissing, setPrincipalRequestHeader
 
Methods inherited from class org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
afterPropertiesSet, doFilter, getAuthenticationDetailsSource, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationManager, setCheckForPrincipalChanges, setContinueFilterChainOnUnsuccessfulAuthentication, setInvalidateSessionOnPrincipalChange, successfulAuthentication, unsuccessfulAuthentication
 
Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, destroy, 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 Detail

ShibRequestHeaderAuthenticationFilter

public ShibRequestHeaderAuthenticationFilter()
Method Detail

getPreAuthenticatedPrincipal

protected Object getPreAuthenticatedPrincipal(javax.servlet.http.HttpServletRequest request)
Overrides:
getPreAuthenticatedPrincipal in class org.springframework.security.web.authentication.preauth.RequestHeaderAuthenticationFilter


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.