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>booleanmatches(jakarta.servlet.http.HttpServletRequest request) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetBeanName(String name) toString()
-
Constructor Details
-
DefaultSecurityFilterChain
-
DefaultSecurityFilterChain
public DefaultSecurityFilterChain(RequestMatcher requestMatcher, List<jakarta.servlet.Filter> filters)
-
-
Method Details
-
getRequestMatcher
-
getFilters
- Specified by:
getFiltersin interfaceSecurityFilterChain
-
matches
public boolean matches(jakarta.servlet.http.HttpServletRequest request) - Specified by:
matchesin interfaceSecurityFilterChain
-
toString
-
setBeanName
- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-