Class ApiSecurityConfig
java.lang.Object
nl.b3p.planmonitorwonen.api.security.ApiSecurityConfig
-
Constructor Summary
ConstructorDescriptionApiSecurityConfig
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
apiFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) protected org.springframework.security.authentication.AuthenticationManager
org.springframework.security.authentication.AuthenticationProvider
-
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()
-