org.springframework.security.web.authentication.preauth.x509
Class X509AuthenticationFilter

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.x509.X509AuthenticationFilter
All Implemented Interfaces:
Filter, BeanNameAware, DisposableBean, InitializingBean, ApplicationEventPublisherAware, ServletContextAware

public class X509AuthenticationFilter
extends AbstractPreAuthenticatedProcessingFilter

Version:
$Id: X509AuthenticationFilter.java 3928 2009-10-07 14:43:55Z ltaylor $
Author:
Luke Taylor

Field Summary
 
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger
 
Constructor Summary
X509AuthenticationFilter()
           
 
Method Summary
protected  Object getPreAuthenticatedCredentials(HttpServletRequest request)
          Override to extract the credentials (if applicable) from the current request.
protected  Object getPreAuthenticatedPrincipal(HttpServletRequest request)
          Override to extract the principal information from the current request
 void setPrincipalExtractor(X509PrincipalExtractor principalExtractor)
           
 
Methods inherited from class org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
afterPropertiesSet, doFilter, 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, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509AuthenticationFilter

public X509AuthenticationFilter()
Method Detail

getPreAuthenticatedPrincipal

protected Object getPreAuthenticatedPrincipal(HttpServletRequest request)
Description copied from class: AbstractPreAuthenticatedProcessingFilter
Override to extract the principal information from the current request

Specified by:
getPreAuthenticatedPrincipal in class AbstractPreAuthenticatedProcessingFilter

getPreAuthenticatedCredentials

protected Object getPreAuthenticatedCredentials(HttpServletRequest request)
Description copied from class: AbstractPreAuthenticatedProcessingFilter
Override to extract the credentials (if applicable) from the current request. Some implementations may return a dummy value.

Specified by:
getPreAuthenticatedCredentials in class AbstractPreAuthenticatedProcessingFilter

setPrincipalExtractor

public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor)


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.