Class SseApiWebSecurityConfig

java.lang.Object
ch.admin.bit.jeap.server.sent.events.web.SseApiWebSecurityConfig

@Configuration @ConditionalOnProperty(name="jeap.sse.enabled", havingValue="true", matchIfMissing=true) @Conditional(PermitInsecureSseEndpointCondition.class) public class SseApiWebSecurityConfig extends Object
  • Constructor Details

    • SseApiWebSecurityConfig

      public SseApiWebSecurityConfig()
  • Method Details

    • apiSecurityFilterChain

      @Bean @Order(-2147483548) public org.springframework.security.web.SecurityFilterChain apiSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, @Value("${jeap.sse.web.endpoint}") String webEndpoint) throws Exception
      Throws:
      Exception