@Configuration @ConditionalOnWebApplication @ConditionalOnClass(value={org.springframework.security.config.annotation.web.configuration.EnableWebSecurity.class,org.springframework.security.web.util.matcher.RequestMatcher.class}) @EnableConfigurationProperties public class ManagementWebSecurityAutoConfiguration extends Object
Auto-configuration
for security of framework endpoints.
Many aspects of the behavior can be controller with ManagementServerProperties
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 a sensitive
configuration option which will be
used as a security hint by the filter created here.
Modifier and Type | Class and Description |
---|---|
protected static class |
ManagementWebSecurityAutoConfiguration.ManagementSecurityPropertiesConfiguration |
protected static class |
ManagementWebSecurityAutoConfiguration.ManagementWebSecurityConfigurerAdapter |
protected static class |
ManagementWebSecurityAutoConfiguration.WebSecurityEnabler |
Constructor and Description |
---|
ManagementWebSecurityAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
IgnoredRequestCustomizer |
managementIgnoredRequestCustomizer(ManagementServerProperties management,
ObjectProvider<ManagementContextResolver> contextResolver) |
public ManagementWebSecurityAutoConfiguration()
@Bean public IgnoredRequestCustomizer managementIgnoredRequestCustomizer(ManagementServerProperties management, ObjectProvider<ManagementContextResolver> contextResolver)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.