Class ApiSecurityConfig

java.lang.Object
nl.b3p.planmonitorwonen.api.security.ApiSecurityConfig

@Configuration @EnableWebSecurity(debug=false) public class ApiSecurityConfig extends Object
  • Constructor Details

    • ApiSecurityConfig

      @Autowired public ApiSecurityConfig(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
  • Method Details

    • apiFilterChain

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

      @Bean(name="tmapiAuthenticationProvider") public org.springframework.security.authentication.AuthenticationProvider tmapiAuthenticationProvider()
    • authenticationManager

      @Bean(name="authenticationManager") @DependsOn("tmapiAuthenticationProvider") protected org.springframework.security.authentication.AuthenticationManager authenticationManager()
    • tmapiSessionCookieAuthenticationFilter

      @Bean @DependsOn("authenticationManager") public TMAPIAuthenticationFilter tmapiSessionCookieAuthenticationFilter()