public class GroupRoleManager extends DefaultRoleManager
| 构造器和说明 |
|---|
GroupRoleManager(int maxHierarchyLevel)
GroupRoleManager is the constructor for creating an instance of the
GroupRoleManager implementation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasLink(java.lang.String name1,
java.lang.String name2,
java.lang.String... domain)
hasLink determines whether role: name1 inherits role: name2.
|
addDomainMatchingFunc, addLink, addMatchingFunc, clear, deleteLink, getRoles, getUsers, printRolespublic GroupRoleManager(int maxHierarchyLevel)
maxHierarchyLevel - the maximized allowed RBAC hierarchy level.public boolean hasLink(java.lang.String name1,
java.lang.String name2,
java.lang.String... domain)
hasLink 在接口中 RoleManagerhasLink 在类中 DefaultRoleManagername1 - the first role (or a user).name2 - the second role.domain - the domain the roles belong to.Copyright © 2017–2021. All rights reserved.