Package sk.iway.iwcm.system.spring
Class SpringSecurityConf
java.lang.Object
sk.iway.iwcm.system.spring.SpringSecurityConf
@Configuration
@EnableWebSecurity
@EnableMethodSecurity(securedEnabled=true,
prePostEnabled=true)
public class SpringSecurityConf
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureSecurity
(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String className) org.springframework.security.web.SecurityFilterChain
filterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) static boolean
Returns true if Basic Auth is enabled, it is initilized on startup, so tests can't rely on springSecurityAllowedAuths conf valueorg.springframework.security.web.firewall.HttpFirewall
-
Constructor Details
-
SpringSecurityConf
public SpringSecurityConf()
-
-
Method Details
-
filterChain
@Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
webjetHttpFirewall
@Bean public org.springframework.security.web.firewall.HttpFirewall webjetHttpFirewall() -
configureSecurity
protected void configureSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http, String className) -
isBasicAuthEnabled
public static boolean isBasicAuthEnabled()Returns true if Basic Auth is enabled, it is initilized on startup, so tests can't rely on springSecurityAllowedAuths conf value- Returns:
-