Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore.info
Interface GrantEntry


public interface GrantEntry

An in-memory representation privileges granted to a grantee.

A grantee comprises of a one or more Principals or a CodeSource. Privileges are expressed in terms of PermissionEntry, which at runtime translates to a Permission.


Method Summary
 boolean equals(java.lang.Object another)
          Indicates where some other object is "equal" to this object.
 GranteeEntry getGranteeEntry()
          Returns the grantee.
 java.util.List<PermissionEntry> getPermissionEntries()
          Returns the Permissions granted to this grantee.
 java.util.List<PermissionEntry> getPermissionEntries(java.lang.String permSetName)
          Return permissions granted to the grantee based upon a criteria.
 java.util.Set<java.lang.String> getPermissionSetNames()
          Returns the names of all the PermissionSet names associated with this grant.

 

Method Detail

getGranteeEntry

GranteeEntry getGranteeEntry()
Returns the grantee.

getPermissionEntries

java.util.List<PermissionEntry> getPermissionEntries()
Returns the Permissions granted to this grantee.

Permissions returned in this list are permissions granted by via of a grant of an PermissionSet, or a direct grant of a Permission to the grantee

Returns:
list of permission entries.

getPermissionSetNames

java.util.Set<java.lang.String> getPermissionSetNames()
Returns the names of all the PermissionSet names associated with this grant. An empty Set may be returned if there are no PermissionSets associated with the Grant.
Returns:
Names of PermissionSets.

equals

boolean equals(java.lang.Object another)
Indicates where some other object is "equal" to this object. Returns true if they are equal. False otherwise.
Overrides:
equals in class java.lang.Object

getPermissionEntries

java.util.List<PermissionEntry> getPermissionEntries(java.lang.String permSetName)
Return permissions granted to the grantee based upon a criteria.
Parameters:
permSetName - if permSetName is null, all permissions granted to the grantee by a grant are only returned.

If permSetName is '*', then all permissions granted to the grantee by all PermissionSets are returned.

If permSetName is a valid PermissionSet name, then only the permissions granted by this PermissionSet are returned. A valid PermissionSet is one that is contained in the return result of GrantEntry.getPermissionSetNames().

Returns:
list of permissions.

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.