public class SimplePropertyResource extends Object implements PropertyResource
Constructor and Description |
---|
SimplePropertyResource() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllCustomUrls()
获取所有自定义权限的资源
|
String[] |
getAllIgnoreUrls()
获取所有忽视的资源
|
Set<String> |
getAllPermitUlrs()
获取所有直接放行的资源
|
Set<String> |
getAllUnCheckUrls()
获取所有不需要经过token校验的资源的路径
|
List<String> |
getExcludeUrls()
获取所有不经过资源服务器授权管理的资源
|
SecurityProperties |
security()
spring security 相关的配置
|
void |
setSecurityProperties(SecurityProperties securityProperties) |
void |
setSocialProperties(SocialProperties socialProperties) |
SocialProperties |
social()
spring social 相关的配置
|
public SecurityProperties security()
PropertyResource
security
in interface PropertyResource
public SocialProperties social()
PropertyResource
social
in interface PropertyResource
public Set<String> getAllPermitUlrs()
PropertyResource
getAllPermitUlrs
in interface PropertyResource
public List<String> getExcludeUrls()
PropertyResource
getExcludeUrls
in interface PropertyResource
public Set<String> getAllCustomUrls()
PropertyResource
getAllCustomUrls
in interface PropertyResource
public Set<String> getAllUnCheckUrls()
PropertyResource
getAllUnCheckUrls
in interface PropertyResource
public String[] getAllIgnoreUrls()
PropertyResource
getAllIgnoreUrls
in interface PropertyResource
public void setSecurityProperties(SecurityProperties securityProperties)
public void setSocialProperties(SocialProperties socialProperties)
Copyright © 2021. All rights reserved.