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
Class AbstractTypedPermission

java.lang.Object
  extended by java.security.Permission
      extended by oracle.security.jps.AbstractTypedPermission

All Implemented Interfaces:
java.io.Serializable, java.security.Guard, TypedPermission

public abstract class AbstractTypedPermission
extends java.security.Permission
implements TypedPermission
See Also:
Serialized Form

Constructor Summary
AbstractTypedPermission(java.lang.String resourceType, java.lang.String resourceName, java.lang.String actions)
           

 

Method Summary
 boolean equals(java.lang.Object obj)
          Checks two AbstractTypedPermission objects for equality.
 java.lang.String getActions()
           
 java.lang.String getResourceName()
          Get resource name
 java.lang.String getResourceType()
          Get resource type
 int hashCode()
           
 boolean implies(java.security.Permission perm)
          Checks if this object "implies" the specified permission.
 java.security.PermissionCollection newPermissionCollection()
           

 

Methods inherited from class java.security.Permission
checkGuard, getName, toString

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

AbstractTypedPermission

public AbstractTypedPermission(java.lang.String resourceType,
                               java.lang.String resourceName,
                               java.lang.String actions)

Method Detail

implies

public boolean implies(java.security.Permission perm)

Checks if this object "implies" the specified permission.

More specifically, this method returns true if:

Specified by:
implies in class java.security.Permission
Parameters:
perm - the permission to check against
Returns:
true if the specified permission is implied by this object, false otherwise

equals

public boolean equals(java.lang.Object obj)

Checks two AbstractTypedPermission objects for equality.

More specifically, this method returns true if:

Specified by:
equals in class java.security.Permission
Parameters:
obj - the object tested for equality with this object
Returns:
true if obj is considered equal, false otherwise

hashCode

public int hashCode()
Specified by:
hashCode in class java.security.Permission

getActions

public java.lang.String getActions()
Specified by:
getActions in class java.security.Permission

getResourceType

public java.lang.String getResourceType()
Description copied from interface: TypedPermission
Get resource type
Specified by:
getResourceType in interface TypedPermission
Returns:
resource type

getResourceName

public java.lang.String getResourceName()
Description copied from interface: TypedPermission
Get resource name
Specified by:
getResourceName in interface TypedPermission
Returns:
resource name

newPermissionCollection

public java.security.PermissionCollection newPermissionCollection()
Overrides:
newPermissionCollection in class java.security.Permission

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.