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:
jakarta.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.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
-
Field Summary
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetPreAuthenticatedCredentials(jakarta.servlet.http.HttpServletRequest request) Override to extract the credentials (if applicable) from the current request.protected ObjectgetPreAuthenticatedPrincipal(jakarta.servlet.http.HttpServletRequest request) Override to extract the principal information from the current requestvoidsetPrincipalExtractor(X509PrincipalExtractor principalExtractor) Methods inherited from class org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
afterPropertiesSet, doFilter, getAuthenticationDetailsSource, principalChanged, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setCheckForPrincipalChanges, setContinueFilterChainOnUnsuccessfulAuthentication, setInvalidateSessionOnPrincipalChange, setRequiresAuthenticationRequestMatcher, setSecurityContextHolderStrategy, setSecurityContextRepository, successfulAuthentication, unsuccessfulAuthenticationMethods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
Constructor Details
-
X509AuthenticationFilter
public X509AuthenticationFilter()
-
-
Method Details
-
getPreAuthenticatedPrincipal
Description copied from class:AbstractPreAuthenticatedProcessingFilterOverride to extract the principal information from the current request- Specified by:
getPreAuthenticatedPrincipalin classAbstractPreAuthenticatedProcessingFilter
-
getPreAuthenticatedCredentials
Description copied from class:AbstractPreAuthenticatedProcessingFilterOverride 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:
getPreAuthenticatedCredentialsin classAbstractPreAuthenticatedProcessingFilter
-
setPrincipalExtractor
-