Class DebugWebSecurityConfiguration
java.lang.Object
com.foreach.across.modules.debugweb.extensions.DebugWebSecurityConfiguration
@ModuleConfiguration("SpringSecurityModule")
@ConditionalOnClass(org.springframework.security.config.annotation.web.builders.HttpSecurity.class)
@ConditionalOnProperty(value="debug-web-module.security.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(SecuritySettings.class)
public class DebugWebSecurityConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
protected org.springframework.security.core.userdetails.UserDetailsService
org.springframework.security.web.SecurityFilterChain
debugWebSecurityFilterChain
(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
-
Constructor Details
-
DebugWebSecurityConfiguration
public DebugWebSecurityConfiguration()
-
-
Method Details
-
debugWebSecurityFilterChain
@Bean public org.springframework.security.web.SecurityFilterChain debugWebSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Throws:
Exception
-
buildAccessExpression
protected org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext> buildAccessExpression() -
buildUserDetailsService
protected org.springframework.security.core.userdetails.UserDetailsService buildUserDetailsService()
-