public interface AuthRule extends Handler
限定符和类型 | 方法和说明 |
---|---|
AuthRule |
exclude(java.lang.String pathPattern)
排除
|
AuthRule |
failure(AuthFailureHandler handler)
失败事件
|
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)
验证角色(并且关系)
|
AuthRule include(java.lang.String pathPattern)
pathPattern
- 路径模式AuthRule exclude(java.lang.String pathPattern)
pathPattern
- 路径模式AuthRule verifyIp()
AuthRule verifyLogined()
AuthRule verifyPath()
AuthRule verifyPermissions(java.lang.String... permissions)
permissions
- 权限AuthRule verifyPermissionsAnd(java.lang.String... permissions)
permissions
- 权限AuthRule verifyRoles(java.lang.String... roles)
roles
- 角色AuthRule verifyRolesAnd(java.lang.String... roles)
roles
- 角色AuthRule failure(AuthFailureHandler handler)