Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.inherent.resource
Interface Privilege

All Superinterfaces:
SnapshotObject

public interface Privilege
extends SnapshotObject

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

TYPE

static final java.lang.String TYPE
Static variable representing systemPrivilege object.
See Also:
Constant Field Values

Method Detail

getResource

ObjectKey getResource()
Returns the ObjectKey of the resource to which the associated permission may be applied.
Returns:
ObjectKey representing the resource.

getPermission

ObjectKey getPermission()
Returns the ObjectKey of the permission that may be applied to the associated resource.
Returns:
ObjectKey representing the permission.

getName

java.lang.String getName()
Gets the unique name of the SystemPrivilege.
Returns:
String representing SystemPrivilege unique name.

getDisplayName

java.lang.String getDisplayName()
Gets the display name of the Privilege.
Returns:
String representing Privilege display name

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.