public class GritAuthProcessor extends Object implements org.noear.solon.auth.AuthProcessor
| Constructor and Description |
|---|
GritAuthProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getSubjectDisplayName()
获取主体显示名
|
protected long |
getSubjectId()
获取主体Id
|
boolean |
verifyIp(String ip) |
boolean |
verifyLogined() |
boolean |
verifyPath(String path,
String method) |
boolean |
verifyPermissions(String[] permissions,
org.noear.solon.auth.annotation.Logical logical) |
boolean |
verifyRoles(String[] roles,
org.noear.solon.auth.annotation.Logical logical) |
protected long getSubjectId()
protected String getSubjectDisplayName()
public boolean verifyIp(String ip)
verifyIp in interface org.noear.solon.auth.AuthProcessorpublic boolean verifyLogined()
verifyLogined in interface org.noear.solon.auth.AuthProcessorpublic boolean verifyPath(String path, String method)
verifyPath in interface org.noear.solon.auth.AuthProcessorpublic boolean verifyPermissions(String[] permissions, org.noear.solon.auth.annotation.Logical logical)
verifyPermissions in interface org.noear.solon.auth.AuthProcessorpublic boolean verifyRoles(String[] roles, org.noear.solon.auth.annotation.Logical logical)
verifyRoles in interface org.noear.solon.auth.AuthProcessorCopyright © 2025. All rights reserved.