public class PrivilegeChainQuery extends Object
| Constructor and Description |
|---|
PrivilegeChainQuery() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
inheritsPrivileges(RelationshipManager relationshipManager,
IdentityType identity,
IdentityType assignee)
Checks if the given
identity inherits the privileges assigned to the given assignee. |
void |
registerRelationshipType(Class<? extends Relationship> relationshipType) |
public void registerRelationshipType(Class<? extends Relationship> relationshipType)
public boolean inheritsPrivileges(RelationshipManager relationshipManager, IdentityType identity, IdentityType assignee)
Checks if the given identity inherits the privileges assigned to the given assignee.
relationshipManager - identity - assignee - Copyright © 2018 JBoss by Red Hat. All rights reserved.