Class ManagementWebSecurityAutoConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.ManagementWebSecurityAutoConfiguration
@Configuration @ConditionalOnWebApplication @ConditionalOnClass(org.springframework.security.config.annotation.web.configuration.EnableWebSecurity.class) @EnableConfigurationProperties public class ManagementWebSecurityAutoConfiguration extends Object
Auto-configuration
for security of framework endpoints. Many aspects of the behavior can be controller withManagementServerProperties
via externalized application properties (or via an bean definition of that type to set the defaults).The framework
Endpoint
s (used to expose application information to operations) include asensitive
configuration option which will be used as a security hint by the filter created here.
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ManagementWebSecurityAutoConfiguration.ManagementSecurityPropertiesConfiguration
protected static class
ManagementWebSecurityAutoConfiguration.ManagementWebSecurityConfigurerAdapter
protected static class
ManagementWebSecurityAutoConfiguration.WebSecurityEnabler
Constructor Summary
Constructors Constructor Description ManagementWebSecurityAutoConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.autoconfigure.security.IgnoredRequestCustomizer
managementIgnoredRequestCustomizer(ManagementServerProperties management, org.springframework.beans.factory.ObjectProvider<ManagementContextResolver> contextResolver)
Constructor Detail
ManagementWebSecurityAutoConfiguration
public ManagementWebSecurityAutoConfiguration()
Method Detail
managementIgnoredRequestCustomizer
@Bean public org.springframework.boot.autoconfigure.security.IgnoredRequestCustomizer managementIgnoredRequestCustomizer(ManagementServerProperties management, org.springframework.beans.factory.ObjectProvider<ManagementContextResolver> contextResolver)