Package org.springframework.security.web
Class DefaultSecurityFilterChain
java.lang.Object
org.springframework.security.web.DefaultSecurityFilterChain
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,SecurityFilterChain
public final class DefaultSecurityFilterChain
extends Object
implements SecurityFilterChain, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanFactoryAware
Standard implementation of
SecurityFilterChain
.- Since:
- 3.1
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSecurityFilterChain
(RequestMatcher requestMatcher, jakarta.servlet.Filter... filters) DefaultSecurityFilterChain
(RequestMatcher requestMatcher, List<jakarta.servlet.Filter> filters) -
Method Summary
Modifier and TypeMethodDescriptionList<jakarta.servlet.Filter>
boolean
matches
(jakarta.servlet.http.HttpServletRequest request) void
setBeanFactory
(org.springframework.beans.factory.BeanFactory beanFactory) void
setBeanName
(String name) toString()
-
Constructor Details
-
DefaultSecurityFilterChain
-
DefaultSecurityFilterChain
public DefaultSecurityFilterChain(RequestMatcher requestMatcher, List<jakarta.servlet.Filter> filters)
-
-
Method Details
-
getRequestMatcher
-
getFilters
- Specified by:
getFilters
in interfaceSecurityFilterChain
-
matches
public boolean matches(jakarta.servlet.http.HttpServletRequest request) - Specified by:
matches
in interfaceSecurityFilterChain
-
toString
-
setBeanName
- Specified by:
setBeanName
in interfaceorg.springframework.beans.factory.BeanNameAware
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-