public final class UmbrellaGrantPermission extends Permission
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.Constructor and Description |
---|
UmbrellaGrantPermission()
Creates a new
UmbrellaGrantPermission . |
Modifier and Type | Method and Description |
---|---|
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) . |
checkGuard, getName, newPermissionCollection, toString
public UmbrellaGrantPermission()
UmbrellaGrantPermission
.public String getActions()
Permission.getActions()
.getActions
in class Permission
public boolean implies(Permission permission)
Permission.implies(java.security.Permission)
.implies
in class Permission
public boolean equals(Object obj)
Permission.equals(java.lang.Object)
.equals
in class Permission
public int hashCode()
Permission.hashCode()
.hashCode
in class Permission
Copyright © GigaSpaces.