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 Details

    • HealthProbesSecurityConfig

      public HealthProbesSecurityConfig(org.springframework.core.env.Environment env)
  • Method Details

    • appFilterChain

      @Bean public org.springframework.security.web.SecurityFilterChain appFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception