@Configuration @ConditionalOnWebApplication @EnableConfigurationProperties public class SecurityFilterAutoConfiguration extends Object
Auto-configuration
for Spring Security's Filter.
Configured separately from SpringBootWebSecurityConfiguration
to ensure that
the filter's order is still configured when a user-provided
WebSecurityConfiguration
exists.Constructor and Description |
---|
SecurityFilterAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
FilterRegistrationBean |
securityFilterChainRegistration(Filter securityFilter,
SecurityProperties securityProperties) |
@Bean @ConditionalOnBean(name="springSecurityFilterChain") public FilterRegistrationBean securityFilterChainRegistration(@Qualifier(value="springSecurityFilterChain") Filter securityFilter, SecurityProperties securityProperties)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.