Package co.mastermindcms.client.security
Class WebSecurityConfiguration.UserSecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- co.mastermindcms.client.security.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
-
-
Constructor Summary
Constructors Constructor Description UserSecurityConfiguration()
-
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
-
-
-
-
Method Detail
-
tokenRepository
@Bean public PersistentTokenServiceImpl tokenRepository()
-
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 classorg.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 classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
java.lang.Exception
-
-