|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.PermissionCollection | +--java.security.UnresolvedPermissionCollection
A UnresolvedPermissionCollection stores a collection of UnresolvedPermission permissions.
java.security.Permission
,
java.security.Permissions
,
java.security.UnresolvedPermission
,
Serialized FormField Summary | |
private Hashtable |
permissions
|
Fields inherited from class java.security.PermissionCollection |
|
Constructor Summary | |
UnresolvedPermissionCollection()
Create an empty BasicPermissions object. |
Method Summary | |
void |
add(Permission permission)
Adds a permission to the BasicPermissions. |
Enumeration |
elements()
Returns an enumeration of all the UnresolvedPermission vectors in the container. |
(package private) Vector |
getUnresolvedPermissions(Permission p)
get any unresolved permissions of the same type as p, and return the Vector containing them. |
boolean |
implies(Permission permission)
always returns false for unresolved permissions |
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
Constructor Detail |
public UnresolvedPermissionCollection()
Method Detail |
public void add(Permission permission)
add
in class PermissionCollection
permission
- the Permission object to add.Vector getUnresolvedPermissions(Permission p)
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 |