|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
org.systinet.security.perm.DelegatePermission
org.systinet.security.perm.DelegatePackagePermission
Permission that allows to delegate permissions oriented to (WASP) packages.
Field Summary | |
static java.lang.String |
ALL_NAMES
Intended for all names, can be passed to contructor. |
Constructor Summary | |
DelegatePackagePermission(java.lang.String name)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks two DelegatePackagePermission objects for equality. |
boolean |
implies(java.security.Permission p)
Checks if this DelegatePackagePermission object "implies" the specified permission. |
java.security.PermissionCollection |
newPermissionCollection()
Returns a new PermissionCollection object for storing DelegaetPermission objects. |
Methods inherited from class org.systinet.security.perm.DelegatePermission |
getActions, hashCode, toString |
Methods inherited from class java.security.Permission |
checkGuard, getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ALL_NAMES
Constructor Detail |
public DelegatePackagePermission(java.lang.String name)
name
- name of the package, null
implies all namesMethod Detail |
public boolean implies(java.security.Permission p)
More specifically, this method returns true if:
implies
in class DelegatePermission
p
- the permission to check against.
true
if the specified permission is implied by this object,
false
if not.public boolean equals(java.lang.Object obj)
equals
in class DelegatePermission
obj
- the object we are testing for equality with this object.
java.java.lang.ClassCastException
- if the parameter is not instanceof DelegatePackagePermissionpublic java.security.PermissionCollection newPermissionCollection()
newPermissionCollection
in class DelegatePermission
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |