public class Resource extends PersistentObject
Constructor and Description |
---|
Resource(CreationTemplate template,
AttrSet attrSet)
Construct Resource object without session.
|
Modifier and Type | Method and Description |
---|---|
AccessRightObject |
getAccessRight(Guid guid)
Get the access rights associated with the user; this will return an
aggregation of all the attribute access rights granted by each of the
user's roles.
|
AttrSet |
getAttributes(SearchTemplate template)
Return attribute set according to a supplied search template.
|
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 Resource(CreationTemplate template, AttrSet attrSet) throws UMSException
template
- template to the ResourceattrSet
- attribute/value setUMSException
public AttrSet getAttributes(SearchTemplate template) throws UMSException
template
- Search templateUMSException
public AccessRightObject getAccessRight(Guid guid) throws UMSException, ACIParseException
guid
- The starting location of the role (rights) aggregation.UMSException
ACIParseException
Copyright © 2010-2016, ForgeRock All Rights Reserved.