|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Privilege
This interface represents a system privilege, which is an association between a resource (for example, person
) and a permission representing operations that might be performed on that resource (for example, manage
), In order for the privilege to be exercised by a user, the privilege must be mapped to at least one role of which the useris either a member or elibible to be granted the role.
A privilege is comprised of two parts, a permission and a resource. A request to perform some action involves checking to see if the principal has the corresponding permission.
Field Summary | |
---|---|
static java.lang.String |
TYPE Static variable representing systemPrivilege object. |
Method Summary | |
---|---|
java.lang.String |
getDisplayName() Gets the display name of the Privilege. |
java.lang.String |
getName() Gets the unique name of the SystemPrivilege. |
ObjectKey |
getPermission() Returns the ObjectKey of the permission that may be applied to the associated resource. |
ObjectKey |
getResource() Returns the ObjectKey of the resource to which the associated permission may be applied. |
Methods inherited from interface oracle.iam.rm.temporal.SnapshotObject |
---|
delete, delete, getAllAttributes, getAttributeValue, getDefaultTitle, getMixin, getObjectKey, getObjectType, getRelativeObjects, getRelativeObjects, getStructuralObject, getStructuralObjectType, getVersion, isEditable, makeReadConsistent, setAttributeValue, setAttributeValues, stateEquals, updateVersion |
Field Detail |
---|
static final java.lang.String TYPE
systemPrivilege
object.
Method Detail |
---|
ObjectKey getResource()
ObjectKey
of the resource to which the associated permission may be applied.ObjectKey
representing the resource.ObjectKey getPermission()
ObjectKey
of the permission that may be applied to the associated resource.ObjectKey
representing the permission.java.lang.String getName()
String
representing SystemPrivilege unique name.java.lang.String getDisplayName()
String
representing Privilege display name
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |