@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.security.authentication.DefaultAuthenticationEventPublisher.class) @EnableConfigurationProperties(value=SecurityProperties.class) @Import(value={org.springframework.boot.autoconfigure.security.servlet.SpringBootWebSecurityConfiguration.class,org.springframework.boot.autoconfigure.security.servlet.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)