public class InterceptAllAuthorizeProvider extends Object implements AuthorizeProvider
拦截所有的资源
注意此过滤器一定要最后加载| Constructor and Description |
|---|
InterceptAllAuthorizeProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
config(PropertyResource propertyResource,
org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry)
授权配置
|
int |
getOrder()
授权提供器的顺序,数字越小越是提前使用,默认值为100
|
public void config(PropertyResource propertyResource, org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry) throws Exception
AuthorizeProviderconfig in interface AuthorizeProviderpropertyResource - 授权资源expressionInterceptUrlRegistry - 注册器Exception - 配置时出现问题public int getOrder()
AuthorizeProvidergetOrder in interface AuthorizeProviderCopyright © 2021. All rights reserved.