Class ManagementWebSecurityAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnDefaultWebSecurity
@AutoConfigureBefore(SecurityAutoConfiguration.class)
@AutoConfigureAfter({HealthEndpointAutoConfiguration.class,InfoEndpointAutoConfiguration.class,WebEndpointAutoConfiguration.class,OAuth2ClientAutoConfiguration.class,OAuth2ResourceServerAutoConfiguration.class,Saml2RelyingPartyAutoConfiguration.class})
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 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
- Author:
- Madhura Bhave, Hatef Palizgar
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ManagementWebSecurityAutoConfiguration
public ManagementWebSecurityAutoConfiguration()
-