Package org.openwms.services
Class WebSecurityConfig
java.lang.Object
org.openwms.services.WebSecurityConfig
A WebSecurityConfig.
- Author:
- Heiko Scherrer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
securedFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) org.springframework.security.web.SecurityFilterChain
unsecuredFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
-
Constructor Details
-
WebSecurityConfig
public WebSecurityConfig()
-
-
Method Details
-
securedFilterChain
@Profile("SECURED") @Bean public org.springframework.security.web.SecurityFilterChain securedFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
unsecuredFilterChain
@Profile("!SECURED") @Bean public org.springframework.security.web.SecurityFilterChain unsecuredFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-