Class 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 Detail

      • RuntimeWebSecurityConfigurer

        public RuntimeWebSecurityConfigurer()
    • Method Detail

      • authenticationManager

        protected org.springframework.security.authentication.AuthenticationManager authenticationManager()
                                                                                                   throws Exception
        Overrides:
        authenticationManager in class org.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 class org.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)