构造器和说明 |
---|
AuthRuleImpl() |
限定符和类型 | 方法和说明 |
---|---|
AuthRule |
exclude(java.lang.String pathPattern)
排除
|
AuthRule |
failure(AuthFailureHandler handler)
失败事件
|
void |
handle(Context ctx) |
AuthRule |
include(java.lang.String pathPattern)
包函
|
AuthRule |
verifyIp()
验证Ip
|
AuthRule |
verifyLogined()
验证登录状态
|
AuthRule |
verifyPath()
验证路径
|
AuthRule |
verifyPermissions(java.lang.String... permissions)
验证权限
|
AuthRule |
verifyPermissionsAnd(java.lang.String... permissions)
验证权限(并且关系)
|
AuthRule |
verifyRoles(java.lang.String... roles)
验证角色
|
AuthRule |
verifyRolesAnd(java.lang.String... roles)
验证角色(并且关系)
|
public AuthRule verifyLogined()
AuthRule
verifyLogined
在接口中 AuthRule
public AuthRule verifyPath()
AuthRule
verifyPath
在接口中 AuthRule
public AuthRule verifyPermissions(java.lang.String... permissions)
AuthRule
verifyPermissions
在接口中 AuthRule
permissions
- 权限public AuthRule verifyPermissionsAnd(java.lang.String... permissions)
AuthRule
verifyPermissionsAnd
在接口中 AuthRule
permissions
- 权限public AuthRule verifyRoles(java.lang.String... roles)
AuthRule
verifyRoles
在接口中 AuthRule
roles
- 角色public AuthRule verifyRolesAnd(java.lang.String... roles)
AuthRule
verifyRolesAnd
在接口中 AuthRule
roles
- 角色public AuthRule failure(AuthFailureHandler handler)
AuthRule