@Configuration @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 |
---|---|
org.springframework.security.authentication.DefaultAuthenticationEventPublisher |
authenticationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
@Bean @ConditionalOnMissingBean(value=org.springframework.security.authentication.AuthenticationEventPublisher.class) public org.springframework.security.authentication.DefaultAuthenticationEventPublisher authenticationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.