@Configuration
@EnableWebSecurity
public class SecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SecurityConfig.MethodSecurityConfig |
| Constructor and Description |
|---|
SecurityConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean() |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
void |
configureGlobal(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
org.springframework.security.crypto.password.PasswordEncoder |
passwordEncoder() |
org.springframework.security.crypto.encrypt.TextEncryptor |
textEncryptor() |
authenticationManager, configure, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean@Inject
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.WebSecurityConfigurerAdapterExceptionpublic void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean
public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean()
throws Exception
authenticationManagerBean in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
@Bean public org.springframework.security.crypto.encrypt.TextEncryptor textEncryptor()
Copyright © 2015 Meruvian. All Rights Reserved.