|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.security.PermissionCollection
|
+--java.net.SocketPermissionCollection
if (init'd with IP, key is IP as string) if wildcard, its the wild card else its the cname?
java.security.Permission,
java.security.Permissions,
java.security.PermissionCollection,
Serialized Form| Field Summary | |
private Vector |
permissions
The SocketPermissions for this set. |
| Fields inherited from class java.security.PermissionCollection |
|
| Constructor Summary | |
SocketPermissionCollection()
Create an empty SocketPermissions object. |
|
| Method Summary | |
void |
add(Permission permission)
Adds a permission to the SocketPermissions. |
Enumeration |
elements()
Returns an enumeration of all the SocketPermission objects in the container. |
boolean |
implies(Permission permission)
Check and see if this collection 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 Vector permissions
| Constructor Detail |
public SocketPermissionCollection()
| Method Detail |
public void add(Permission permission)
add in class PermissionCollectionpermission - the Permission object to add.public boolean implies(Permission permission)
implies in class PermissionCollectionpermission - 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 | ||||||||||