Class NaeSecurityConfiguration

  • 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>

    @Controller
    @Configuration
    @EnableWebSecurity
    @Order(-100)
    public class NaeSecurityConfiguration
    extends AbstractSecurityConfiguration
    • Constructor Detail

      • NaeSecurityConfiguration

        public NaeSecurityConfiguration()
    • Method Detail

      • httpSessionIdResolver

        @Bean
        public org.springframework.session.web.http.HttpSessionIdResolver httpSessionIdResolver()
      • corsConfigurationSource

        @Bean
        public org.springframework.web.cors.CorsConfigurationSource corsConfigurationSource()
      • 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
      • createPublicAuthenticationFilter

        protected PublicAuthenticationFilter createPublicAuthenticationFilter()
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception