Class SecurityAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration

@AutoConfiguration @ConditionalOnClass(org.springframework.security.authentication.DefaultAuthenticationEventPublisher.class) @EnableConfigurationProperties(SecurityProperties.class) @Import({org.springframework.boot.autoconfigure.security.servlet.SpringBootWebSecurityConfiguration.class,SecurityDataConfiguration.class}) public class SecurityAutoConfiguration extends Object
Auto-configuration for Spring Security.
Since:
1.0.0
Author:
Dave Syer, Andy Wilkinson, Madhura Bhave
  • Constructor Details

    • SecurityAutoConfiguration

      public SecurityAutoConfiguration()
  • Method Details

    • authenticationEventPublisher

      @Bean @ConditionalOnMissingBean(org.springframework.security.authentication.AuthenticationEventPublisher.class) public org.springframework.security.authentication.DefaultAuthenticationEventPublisher authenticationEventPublisher(ApplicationEventPublisher publisher)