|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.PermissionCollection
java.util.PropertyPermissionCollection
A PropertyPermissionCollection stores a set of PropertyPermission permissions.
Permission,
Permissions,
PermissionCollection,
Serialized Form| Field Summary | |
private boolean |
all_allowed
Boolean saying if "*" is in the collection. |
private Map |
perms
Key is property name; value is PropertyPermission. |
private static ObjectStreamField[] |
serialPersistentFields
|
private static long |
serialVersionUID
|
| Fields inherited from class java.security.PermissionCollection |
|
| Constructor Summary | |
PropertyPermissionCollection()
Create an empty PropertyPermissions object. |
|
| Method Summary | |
void |
add(java.security.Permission permission)
Adds a permission to the PropertyPermissions. |
Enumeration |
elements()
Returns an enumeration of all the PropertyPermission objects in the container. |
boolean |
implies(java.security.Permission permission)
Check and see if this set of permissions implies the permissions expressed in "permission". |
private void |
readObject(ObjectInputStream in)
|
private void |
writeObject(ObjectOutputStream out)
|
| 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 transient Map perms
private boolean all_allowed
serialPersistentFieldsprivate static final long serialVersionUID
private static final ObjectStreamField[] serialPersistentFields
| Constructor Detail |
public PropertyPermissionCollection()
| Method Detail |
public void add(java.security.Permission permission)
permission - the Permission object to add.
IllegalArgumentException - - if the permission is not a
PropertyPermission
SecurityException - - if this PropertyPermissionCollection
object has been marked readonlypublic boolean implies(java.security.Permission permission)
public Enumeration elements()
private void writeObject(ObjectOutputStream out)
throws IOException
IOException
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||