public class SimpleSecurityContextManager extends Object implements SecurityContextManager
Modifier and Type | Field and Description |
---|---|
protected List<WebSecurityProvider> |
webSecurityProviders
web安全授权器实例
|
Constructor and Description |
---|
SimpleSecurityContextManager(List<AuthorizeProvider> authorizeConfigProviders,
List<HttpSecurityInterceptor> interceptors,
List<WebSecurityProvider> webSecurityProviders,
PropertyResource propertyResource,
List<SecurityRequestFilter> securityRequestFilters) |
Modifier and Type | Method and Description |
---|---|
void |
config(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
配置安全管理器
|
void |
config(org.springframework.security.config.annotation.web.builders.WebSecurity web)
配置WebSecurity
|
protected List<WebSecurityProvider> webSecurityProviders
public SimpleSecurityContextManager(List<AuthorizeProvider> authorizeConfigProviders, List<HttpSecurityInterceptor> interceptors, List<WebSecurityProvider> webSecurityProviders, PropertyResource propertyResource, List<SecurityRequestFilter> securityRequestFilters)
public void config(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
SecurityContextManager
config
in interface SecurityContextManager
http
- HttpSecurityException
- 配置时发生问题public void config(org.springframework.security.config.annotation.web.builders.WebSecurity web) throws Exception
SecurityContextManager
config
in interface SecurityContextManager
web
- WebSecurityException
- 配置时发生问题Copyright © 2021. All rights reserved.