@Configuration
@ConditionalOnClass(org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.class)
@ConditionalOnMissingBean(org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.class)
@ConditionalOnWebApplication(type=SERVLET)
public class SpringBootWebSecurityConfiguration
extends Object
The default configuration for web security. It relies on Spring Security's content-negotiation strategy to determine what sort of authentication to use. If the user specifies their own WebSecurityConfigurerAdapter
, this will back-off completely and the users should specify all the bits that they want to configure as part of the custom security configuration.
- Since:
- 2.0.0