Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


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


public interface GrantEntry

An in-memory representation privileges granted to a grantee.

Privileges are expressed in terms of PermissionEntry, which at runtime translates to a Permission.

Note: This interface is defined as a mechanism to exchange information only. The consumer must not implement this interface. Rather, the consumer should rely upon the existing public classes that implement this interface.


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 Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


Copyright © 2013 Oracle. All rights reserved.