|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PermissionEntry
A representation of a policy permission in policystore.
To create an in-memory representation of PermissionEntry use InfoFactory.newPermissionEntry(String, String, String) or InfoFactory.newPermissionEntry(String, String, String, String)
PermissionEntry objects are modified implicitly via the GrantManager.grant(java.util.Set,CodeSourceEntry,String) and GrantManager.revoke(java.util.Set,CodeSourceEntry,String) methods. NOTE
If a PermissionEntry represents a ResourcePermission, then PermissionEntry.getResourceTypeName() is equal to ResourcePermission.getType() , PermissionEntry.getTargetName() is equal to ResourcePermission.getResourceName() and PermissionEntry.getClassName() is equal to "oracle.security.jps.ResourcePermission"
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object another)Overrides Object.equals to verify whether another object is equal to this PermissionEntry |
java.lang.String |
getActions()Returns the actions permitted by this permission entry |
BaseEntry |
getBaseEntry()Returns the BaseEntry of this PermissionEntry |
java.lang.String |
getClassName()Returns the class name (String) for the permission entry |
java.security.Permission |
getPermission()Returns the Permission object corresponding to this permission entry |
java.lang.String |
getResourceTypeName()Returns the resource type name (String) of the resource being protected by this permission entry |
java.lang.String |
getTargetName()Returns the name of the target (resource) being protected by this permission entry |
| Method Detail |
|---|
java.lang.String getClassName()
java.lang.String getTargetName()
java.lang.String getActions()
java.security.Permission getPermission()
java.lang.String getResourceTypeName()
boolean equals(java.lang.Object another)
equals in class java.lang.Objectanother - Object to be compared to this PermissionEntryBaseEntry getBaseEntry()
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||