Class WebSecurityConfiguration.AdminSecurityConfiguration

  • 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>
    Enclosing class:
    WebSecurityConfiguration

    @Configuration
    @Order(1)
    public static class WebSecurityConfiguration.AdminSecurityConfiguration
    extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.authentication.dao.DaoAuthenticationProvider adminAuthenticationProvider()  
      org.springframework.security.core.userdetails.UserDetailsService adminDetailsService()  
      org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices adminRememberMeServices()  
      org.springframework.security.web.authentication.AuthenticationSuccessHandler adminSuccessHandler()  
      protected org.springframework.security.authentication.AuthenticationManager authenticationManager()  
      void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      SuperUserInMemoryProvider superUserAuthenticationProvider()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdminSecurityConfiguration

        public AdminSecurityConfiguration()
    • Method Detail

      • adminDetailsService

        @Bean
        public org.springframework.security.core.userdetails.UserDetailsService adminDetailsService()
      • adminRememberMeServices

        @Bean
        public org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices adminRememberMeServices()
      • adminAuthenticationProvider

        @Bean
        public org.springframework.security.authentication.dao.DaoAuthenticationProvider adminAuthenticationProvider()
      • authenticationManager

        protected org.springframework.security.authentication.AuthenticationManager authenticationManager()
        Overrides:
        authenticationManager in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      • adminSuccessHandler

        @Bean
        public org.springframework.security.web.authentication.AuthenticationSuccessHandler adminSuccessHandler()
      • configure

        public 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