|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GrantEntry
An in-memory representation privileges granted to a grantee.
A grantee comprises of a one or more Principal
s 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 |
---|
GranteeEntry getGranteeEntry()
java.util.List<PermissionEntry> getPermissionEntries()
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
java.util.Set<java.lang.String> getPermissionSetNames()
boolean equals(java.lang.Object another)
equals
in class java.lang.Object
java.util.List<PermissionEntry> getPermissionEntries(java.lang.String permSetName)
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()
.
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |