Class HealthProbesSecurityConfig
java.lang.Object
com.sap.cds.framework.spring.config.auth.HealthProbesSecurityConfig
@AutoConfiguration
@ConditionalOnClass(org.springframework.security.config.annotation.web.builders.HttpSecurity.class)
@ConditionalOnWebApplication
@ConditionalOnProperty(prefix="management.endpoint.health.probes",
name="enabled",
havingValue="true")
@EnableWebSecurity
@Order(100)
public class HealthProbesSecurityConfig
extends Object
This class is responsible for configuring the security for the health probes. It is only active if the
spring-security is present and the health probes endpoints are enabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChainappFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
-
Constructor Details
-
HealthProbesSecurityConfig
public HealthProbesSecurityConfig(org.springframework.core.env.Environment env)
-
-
Method Details