|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.PermissionCollection
org.systinet.security.perm.WASPDeployPermissionCollection
A WASPDeployPermissionCollection stores a set of WASPDeployPermission permissions. At most one WASPDeployPermission object can stored into this collection.
Constructor Summary | |
WASPDeployPermissionCollection()
Create an empty WASPDeployPermissions object. |
Method Summary | |
void |
add(java.security.Permission permission)
Adds a permission to this collection. |
java.util.Enumeration |
elements()
Returns an enumeration of all the WASPDeployPermission objects in the container. |
boolean |
implies(java.security.Permission permission)
Check and see if this set of permissions implies the permissions expressed in "permission". |
Methods inherited from class java.security.PermissionCollection |
isReadOnly, setReadOnly, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WASPDeployPermissionCollection()
Method Detail |
public void add(java.security.Permission permission)
permission
- the Permission object to add.
java.lang.IllegalArgumentException
- - if the permission is not a
WASPDeployPermission
java.lang.SecurityException
- - if this WASPDeployPermissionCollection object
has been marked readonlypublic boolean implies(java.security.Permission permission)
permission
- the Permission object to compare
public java.util.Enumeration elements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |