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 PermissionEntry


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 getResourceNameExpression()
          Return the resource name expression (if any).
 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

getClassName

java.lang.String getClassName()
Returns the class name (String) for the permission entry
Returns:
class name as a String

getTargetName

java.lang.String getTargetName()
Returns the name of the target (resource) being protected by this permission entry
Returns:
target name as a String

getActions

java.lang.String getActions()
Returns the actions permitted by this permission entry
Returns:
a delimited String of permitted actions

getPermission

java.security.Permission getPermission()
Returns the Permission object corresponding to this permission entry
Returns:
Permission

getResourceTypeName

java.lang.String getResourceTypeName()
Returns the resource type name (String) of the resource being protected by this permission entry
Returns:
resource type of the resource (target)

equals

boolean equals(java.lang.Object another)
Overrides Object.equals to verify whether another object is equal to this PermissionEntry
Overrides:
equals in class java.lang.Object
Parameters:
another - Object to be compared to this PermissionEntry
Returns:
true if the object is equal to this permission Entry, false otherwise.

getBaseEntry

BaseEntry getBaseEntry()
Returns the BaseEntry of this PermissionEntry
Returns:
BaseEntry

getResourceNameExpression

java.lang.String getResourceNameExpression()
Return the resource name expression (if any). Returns null otherwise.

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.