public class FirewallWebSecurityProvider extends Object implements WebSecurityProvider
Firewall安全授权器
主要是解决问题 : The request was rejected because the URL was not normalized ,解决路径里包含 // 路径报错的问题Constructor and Description |
---|
FirewallWebSecurityProvider() |
Modifier and Type | Method and Description |
---|---|
void |
configure(PropertyResource propertyResource,
org.springframework.security.config.annotation.web.builders.WebSecurity web)
配置WebSecurity 管理
|
public void configure(PropertyResource propertyResource, org.springframework.security.config.annotation.web.builders.WebSecurity web) throws Exception
WebSecurityProvider
configure
in interface WebSecurityProvider
propertyResource
- 资源管理器web
- WebSecurityException
- 处理时发生了问题Copyright © 2021. All rights reserved.