Package hudson.security
Class HttpSessionContextIntegrationFilter2
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.security.web.context.SecurityContextPersistenceFilter
hudson.security.HttpSessionContextIntegrationFilter2
- 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.EnvironmentAware
,org.springframework.core.env.EnvironmentCapable
,org.springframework.web.context.ServletContextAware
public class HttpSessionContextIntegrationFilter2
extends org.springframework.security.web.context.SecurityContextPersistenceFilter
-
Field Summary
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger
-
Constructor Summary
ConstructorDescriptionHttpSessionContextIntegrationFilter2
(org.springframework.security.web.context.SecurityContextRepository securityContextRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doFilter
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain) Methods inherited from class org.springframework.security.web.context.SecurityContextPersistenceFilter
setForceEagerSessionCreation, setSecurityContextHolderStrategy
Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
Constructor Details
-
HttpSessionContextIntegrationFilter2
public HttpSessionContextIntegrationFilter2(org.springframework.security.web.context.SecurityContextRepository securityContextRepository)
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilter
in interfacejakarta.servlet.Filter
- Overrides:
doFilter
in classorg.springframework.security.web.context.SecurityContextPersistenceFilter
- Throws:
IOException
jakarta.servlet.ServletException
-