Class ManagementWebSecurityAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration

@AutoConfiguration(before=SecurityAutoConfiguration.class, after={HealthEndpointAutoConfiguration.class,InfoEndpointAutoConfiguration.class}, afterName={"org.springframework.boot.security.saml2.autoconfigure.Saml2RelyingPartyAutoConfiguration","org.springframework.boot.security.oauth2.client.autoconfigure.servlet.OAuth2ClientAutoConfiguration","org.springframework.boot.security.oauth2.server.resource.autoconfigure.servlet.OAuth2ResourceServerAutoConfiguration"}) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnDefaultWebSecurity public class ManagementWebSecurityAutoConfiguration extends Object
Auto-configuration for Spring Security when actuator is on the classpath. It allows unauthenticated access to the HealthEndpoint. If the user specifies their own SecurityFilterChain 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
Author:
Madhura Bhave, Hatef Palizgar
  • Constructor Details

    • ManagementWebSecurityAutoConfiguration

      public ManagementWebSecurityAutoConfiguration()