程序包 org.springframework.boot.autoconfigure.security
Auto-configuration for Spring Security.
接口概要 接口 说明 IgnoredRequestCustomizer Customizer that can be implemented by beans to configure paths that need to be ignored by Spring Boot's default Spring Security configuration.SecurityPrerequisite Marker interface for beans that need to be initialized before any security configuration is evaluated.类概要 类 说明 AuthenticationManagerConfiguration Configuration for a Spring Security in-memoryAuthenticationManager.AuthenticationManagerConfiguration.AuthenticationManagerConfigurationListener ApplicationListenerto autowire theAuthenticationEventPublisherinto theAuthenticationManager.BootGlobalAuthenticationConfiguration GlobalAuthenticationConfigurerAdapterto trigger early initialization of@EnableAutoConfigurationbeans.FallbackWebSecurityAutoConfiguration If the user explicitly disables the basic security features and forgets to@EnableWebSecurity, and yet still wants a bean of type WebSecurityConfigurerAdapter, he is trying to use a custom security setup.Http401AuthenticationEntryPoint AuthenticationEntryPoint that sends a 401 and Parameterized by the value of theWWW-Authenticateheader.SecurityAutoConfiguration Auto-configurationfor Spring Security.SecurityDataConfiguration Automatically adds Spring Security's integration with Spring Data.SecurityFilterAutoConfiguration Auto-configurationfor Spring Security's Filter.SecurityProperties Properties for the security aspects of an application.SecurityProperties.Basic SecurityProperties.Headers SecurityProperties.User SpringBootWebSecurityConfiguration Configuration for security of a web application or service.SpringBootWebSecurityConfiguration.ApplicationNoWebSecurityConfigurerAdapter SpringBootWebSecurityConfiguration.ApplicationWebSecurityConfigurerAdapter 枚举概要 枚举 说明 SecurityAuthorizeMode Security authorization modes as specified inSecurityProperties.SecurityProperties.Headers.ContentSecurityPolicyMode SecurityProperties.Headers.HSTS