@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.security.authentication.DefaultAuthenticationEventPublisher.class) @EnableConfigurationProperties(value=SecurityProperties.class) @Import(value={SpringBootWebSecurityConfiguration.class,WebSecurityEnablerConfiguration.class,SecurityDataConfiguration.class}) public class SecurityAutoConfiguration extends Object
Auto-configuration
for Spring Security.Constructor and Description |
---|
SecurityAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DefaultAuthenticationEventPublisher |
authenticationEventPublisher(ApplicationEventPublisher publisher) |
@Bean @ConditionalOnMissingBean(value=org.springframework.security.authentication.AuthenticationEventPublisher.class) public DefaultAuthenticationEventPublisher authenticationEventPublisher(ApplicationEventPublisher publisher)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.