Class SecurityAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.security.authentication.DefaultAuthenticationEventPublisher.class)
@EnableConfigurationProperties(SecurityProperties.class)
@Import({org.springframework.boot.autoconfigure.security.servlet.SpringBootWebSecurityConfiguration.class,org.springframework.boot.autoconfigure.security.servlet.WebSecurityEnablerConfiguration.class,SecurityDataConfiguration.class,org.springframework.boot.autoconfigure.security.servlet.ErrorPageSecurityFilterConfiguration.class})
public class SecurityAutoConfiguration
extends Object
Auto-configuration
for Spring Security.- Since:
- 1.0.0
- Author:
- Dave Syer, Andy Wilkinson, Madhura Bhave
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
SecurityAutoConfiguration
public SecurityAutoConfiguration()
-
-
Method Details
-
authenticationEventPublisher
@Bean @ConditionalOnMissingBean(org.springframework.security.authentication.AuthenticationEventPublisher.class) public DefaultAuthenticationEventPublisher authenticationEventPublisher(ApplicationEventPublisher publisher)
-