@Configuration(proxyBeanMethods=false)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnDefaultWebSecurity
@AutoConfigureBefore(value=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class)
@AutoConfigureAfter(value={HealthEndpointAutoConfiguration.class,InfoEndpointAutoConfiguration.class,WebEndpointAutoConfiguration.class,org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration.class,org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration.class,org.springframework.boot.autoconfigure.security.saml2.Saml2RelyingPartyAutoConfiguration.class})
public class ManagementWebSecurityAutoConfiguration
extends java.lang.Object
Auto-configuration for Spring Security when actuator is
on the classpath. It allows unauthenticated access to the HealthEndpoint. If
the user specifies their ownSecurityFilterChain bean, this will back-off
completely and the user should specify all the bits that they want to configure as part
of the custom security configuration.
- Since:
- 2.1.0