GigaSpaces XAP 9.7.2 API

net.jini.security.policy
Class UmbrellaGrantPermission

java.lang.Object
  extended by java.security.Permission
      extended by net.jini.security.policy.UmbrellaGrantPermission
All Implemented Interfaces:
Serializable, Guard

public final class UmbrellaGrantPermission
extends Permission

Permission that is specially intepreted by PolicyFileProvider as shorthand for a GrantPermission covering all permissions authorized to a given protection domain. For each protection domain authorized with a set of permissions ps that includes an UmbrellaGrantPermission, PolicyFileProvider adds to ps a GrantPermission for all permissions in ps. All UmbrellaGrantPermission instances are equivalent, and have target names and action strings that are the empty string.

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Constructor Summary
UmbrellaGrantPermission()
          Creates a new UmbrellaGrantPermission.
 
Method Summary
 boolean equals(Object obj)
          Behaves as specified by Permission.equals(java.lang.Object).
 String getActions()
          Behaves as specified by Permission.getActions().
 int hashCode()
          Behaves as specified by Permission.hashCode().
 boolean implies(Permission permission)
          Behaves as specified by Permission.implies(java.security.Permission).
 
Methods inherited from class java.security.Permission
checkGuard, getName, newPermissionCollection, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UmbrellaGrantPermission

public UmbrellaGrantPermission()
Creates a new UmbrellaGrantPermission.

Method Detail

getActions

public String getActions()
Behaves as specified by Permission.getActions().

Specified by:
getActions in class Permission

implies

public boolean implies(Permission permission)
Behaves as specified by Permission.implies(java.security.Permission).

Specified by:
implies in class Permission

equals

public boolean equals(Object obj)
Behaves as specified by Permission.equals(java.lang.Object).

Specified by:
equals in class Permission

hashCode

public int hashCode()
Behaves as specified by Permission.hashCode().

Specified by:
hashCode in class Permission

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.