public class GroupRoleManager extends DefaultRoleManager
| Constructor and Description |
|---|
GroupRoleManager(int maxHierarchyLevel)
GroupRoleManager is the constructor for creating an instance of the
GroupRoleManager implementation.
|
| Modifier and Type | Method and Description |
|---|---|
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, printRoles, toStringpublic 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 in interface RoleManagerhasLink in class DefaultRoleManagername1 - the first role (or a user).name2 - the second role.domain - the domain the roles belong to.Copyright © 2017–2025. All rights reserved.