Package com.aquima.web.boot
Class RuntimeWebSecurityConfigurer
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- com.aquima.web.boot.RuntimeWebSecurityConfigurer
-
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>
,org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@Configuration @Order(50) @ConditionalOnProperty(name="blueriq.security.http.interactions.enabled", havingValue="true", matchIfMissing=true) public class RuntimeWebSecurityConfigurer extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description RuntimeWebSecurityConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.security.authentication.AuthenticationManager
authenticationManager()
protected void
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
OpenIdConnectClient
defaultOpenIdConnectClient(OpenIdConnectSettings openIdConnectSettings)
org.springframework.security.web.context.SecurityContextRepository
defaultSecurityContextRepository()
void
registerXssBlacklist(com.aquima.interactions.project.impl.xss.IXssBlacklist blacklist)
void
registerXssWhitelist(com.aquima.interactions.project.impl.xss.IXssWhitelist whitelist)
-
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
-
-
-
Method Detail
-
authenticationManager
protected org.springframework.security.authentication.AuthenticationManager authenticationManager() throws Exception
- Overrides:
authenticationManager
in classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
Exception
-
configure
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
- Overrides:
configure
in classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
Exception
-
defaultSecurityContextRepository
@Bean @ConditionalOnMissingBean(org.springframework.security.web.context.SecurityContextRepository.class) public org.springframework.security.web.context.SecurityContextRepository defaultSecurityContextRepository()
-
defaultOpenIdConnectClient
@Bean @ConditionalOnProperty(name="blueriq.security.login-type", havingValue="openid-connect") public OpenIdConnectClient defaultOpenIdConnectClient(OpenIdConnectSettings openIdConnectSettings)
-
registerXssWhitelist
@Autowired(required=false) public void registerXssWhitelist(com.aquima.interactions.project.impl.xss.IXssWhitelist whitelist)
-
registerXssBlacklist
@Autowired(required=false) public void registerXssBlacklist(com.aquima.interactions.project.impl.xss.IXssBlacklist blacklist)
-
-