Class WebSecurityConfiguration.UserSecurityConfiguration

  • 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(2)
    public static class WebSecurityConfiguration.UserSecurityConfiguration
    extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)  
      void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
      org.springframework.security.authentication.dao.DaoAuthenticationProvider customerAuthenticationProvider()  
      org.springframework.security.core.userdetails.UserDetailsService customerDetailsService()  
      PersistentTokenServiceImpl tokenRepository()  
      org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices userRememberMeServices()  
      org.springframework.security.web.authentication.AuthenticationSuccessHandler userSuccessHandler()  
      • Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

        authenticationManager, authenticationManagerBean, 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

      • UserSecurityConfiguration

        public UserSecurityConfiguration()
    • Method Detail

      • customerDetailsService

        @Bean
        public org.springframework.security.core.userdetails.UserDetailsService customerDetailsService()
      • userRememberMeServices

        @Bean
        public org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices userRememberMeServices()
      • userSuccessHandler

        @Bean
        public org.springframework.security.web.authentication.AuthenticationSuccessHandler userSuccessHandler()
      • customerAuthenticationProvider

        @Bean
        public org.springframework.security.authentication.dao.DaoAuthenticationProvider customerAuthenticationProvider()
      • configure

        public void configure​(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
        Overrides:
        configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
      • 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