|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.PermissionCollection | +--java.util.PropertyPermissionCollection
A PropertyPermissionCollection stores a set of PropertyPermission permissions.
java.security.Permission
,
java.security.Permissions
,
java.security.PermissionCollection
,
Serialized FormField Summary | |
private boolean |
all_allowed
Boolean saying if "*" is in the collection. |
private Hashtable |
permissions
Table of permissions. |
Fields inherited from class java.security.PermissionCollection |
|
Constructor Summary | |
PropertyPermissionCollection()
Create an empty PropertyPermissions object. |
Method Summary | |
void |
add(Permission permission)
Adds a permission to the PropertyPermissions. |
Enumeration |
elements()
Returns an enumeration of all the PropertyPermission objects in the container. |
boolean |
implies(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 |
Field Detail |
private Hashtable permissions
private boolean all_allowed
Constructor Detail |
public PropertyPermissionCollection()
Method Detail |
public void add(Permission permission)
add
in class PermissionCollection
permission
- the Permission object to add.public boolean implies(Permission permission)
implies
in class PermissionCollection
permission
- the Permission object to compare.
public Enumeration elements()
elements
in class PermissionCollection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |