Class SecurityConfigurationStaticEnabled

  • 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
    @Controller
    @EnableWebSecurity
    @Order(2147483642)
    @ConditionalOnProperty(value="nae.server.security.static.enabled",
                           havingValue="true")
    public class SecurityConfigurationStaticEnabled
    extends AbstractSecurityConfiguration
    • Constructor Detail

      • SecurityConfigurationStaticEnabled

        public SecurityConfigurationStaticEnabled()
    • Method Detail

      • httpSessionStrategy

        @Bean
        public org.springframework.session.web.http.HttpSessionStrategy httpSessionStrategy()
      • configure

        protected void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
                          throws java.lang.Exception
        Overrides:
        configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
        Throws:
        java.lang.Exception
      • authenticationManager

        protected org.springframework.security.authentication.ProviderManager authenticationManager()
                                                                                             throws java.lang.Exception
        Overrides:
        authenticationManager in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
        Throws:
        java.lang.Exception
      • authenticationService

        @Bean
        protected IAfterRegistrationAuthService authenticationService()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception