@Order(value=90)
@Configuration
public class WebSecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| 构造器和说明 |
|---|
WebSecurityConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean()
将AuthenticationManager 注入IoC容器
|
protected void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
设置登录服务、 密码编码验证器
|
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
authenticationManager, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean@Bean
public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean()
throws java.lang.Exception
authenticationManagerBean 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.Exception - eprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws java.lang.Exception
configure 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.Exceptionprotected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws java.lang.Exception
configure 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterauth - AuthenticationManagerBuilderjava.lang.Exception - eCopyright © 2021. All Rights Reserved.