Package co.mastermindcms.client.security
Class WebSecurityConfiguration.AdminSecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- co.mastermindcms.client.security.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
-
-
Constructor Summary
Constructors Constructor Description AdminSecurityConfiguration()
-
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
-
-
-
-
Method Detail
-
adminDetailsService
@Bean public org.springframework.security.core.userdetails.UserDetailsService adminDetailsService()
-
adminRememberMeServices
@Bean public org.springframework.security.web.authentication.rememberme.PersistentTokenBasedRememberMeServices adminRememberMeServices()
-
superUserAuthenticationProvider
@Bean public SuperUserInMemoryProvider superUserAuthenticationProvider()
-
adminAuthenticationProvider
@Bean public org.springframework.security.authentication.dao.DaoAuthenticationProvider adminAuthenticationProvider()
-
authenticationManager
protected org.springframework.security.authentication.AuthenticationManager authenticationManager()
- Overrides:
authenticationManager
in classorg.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 classorg.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
- Throws:
java.lang.Exception
-
-