org.springframework.security.web.authentication.preauth.x509
Class X509AuthenticationFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
org.springframework.security.web.authentication.preauth.x509.X509AuthenticationFilter
- All Implemented Interfaces:
- javax.servlet.Filter, BeanNameAware, DisposableBean, InitializingBean, ApplicationEventPublisherAware, ServletContextAware
public class X509AuthenticationFilter
- extends AbstractPreAuthenticatedProcessingFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509AuthenticationFilter
public X509AuthenticationFilter()
getPreAuthenticatedPrincipal
protected Object getPreAuthenticatedPrincipal(javax.servlet.http.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(javax.servlet.http.HttpServletRequest request)
- Description copied from class:
AbstractPreAuthenticatedProcessingFilter
- Override to extract the credentials (if applicable) from the current request. Should not return null for a valid
principal, though some implementations may return a dummy value.
- Specified by:
getPreAuthenticatedCredentials
in class AbstractPreAuthenticatedProcessingFilter
setPrincipalExtractor
public void setPrincipalExtractor(X509PrincipalExtractor principalExtractor)