public class IgnoreCustomAuthority extends Object implements CustomResourceProvider
| Constructor and Description |
|---|
IgnoreCustomAuthority() |
IgnoreCustomAuthority(String prefix,
Set<String> urls) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix() |
Set<String> |
getUrls() |
boolean |
hasPermission(javax.servlet.http.HttpServletRequest request,
org.springframework.security.core.Authentication auth)
自定义权限判断
|
void |
setPrefix(String prefix) |
void |
setUrls(Set<String> urls) |
public boolean hasPermission(javax.servlet.http.HttpServletRequest request,
org.springframework.security.core.Authentication auth)
CustomResourceProviderhasPermission in interface CustomResourceProviderrequest - HttpServletRequestauth - Authenticationpublic String getPrefix()
public void setPrefix(String prefix)
Copyright © 2021. All rights reserved.