@Configuration
public class SpringConfigSecurity
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Constructor and Description |
|---|
SpringConfigSecurity() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.AuthenticationProvider |
authProvider() |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
org.springframework.security.web.authentication.rememberme.PersistentTokenRepository |
persistentTokenRepository() |
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean@Autowired
public void configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws Exception
Exceptionprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.authentication.AuthenticationProvider authProvider()
@Bean public org.springframework.security.web.authentication.rememberme.PersistentTokenRepository persistentTokenRepository()
Copyright © 2018. All rights reserved.