public abstract class BaseRole extends PersistentObject implements IRole
Constructor and Description |
---|
BaseRole(CreationTemplate template,
AttrSet attrSet)
Constructs a BaseRole from a creation template
and attribute set.
|
Modifier and Type | Method and Description |
---|---|
AccessRightObject |
getAccessRight()
Returns the attribute access rights associated with the role.
|
boolean |
hasMember(PersistentObject po)
Checks if a given identifier is a member of the role.
|
void |
newAccessRight(AccessRightObject accessRight)
Creates attribute access rights for the role;
existing attribute access rights for the role will be replaced.
|
addACI, addAttributeValue, addChild, deleteACI, getACI, getACI, getAttribute, getAttribute, getAttributeNames, getAttributes, getAttributes, getAttributes, getChildren, getChildren, getChildren, getGuid, getNamingAttribute, getParentObject, getRoles, isMemberOf, modify, modify, modify, remove, removeAttribute, removeAttributeValue, removeChild, removeChild, rename, replaceACI, save, search, search, search, setAttribute, setAttribute, toString
getParentGuid
public BaseRole(CreationTemplate template, AttrSet attrSet) throws UMSException
public boolean hasMember(PersistentObject po) throws UMSException
hasMember
in interface IRole
po
- member to be checked for membershiptrue
if it is a memberUMSException
- on failure to read object for guidpublic AccessRightObject getAccessRight() throws UMSException, ACIParseException
UMSException
ACIParseException
public void newAccessRight(AccessRightObject accessRight) throws UMSException, ACIParseException
accessRight
- New access right to be set to the roleUMSException
ACIParseException
Copyright © 2010-2014, ForgeRock All Rights Reserved.