Located in compilation unit of java.
java.security.Permission , java.security.Permissions , java.security.PermissionCollection
| Modifier and Type | Field and Description |
|---|---|
| private boolean | all_allowed
Boolean saying if "*" is in the collection. |
| private transient ConcurrentHashMap | perms
Key is property name; value is PropertyPermission. |
| private static final ObjectStreamField[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(Permission
the Permission object to add. permission)Implements abstract java. Adds a permission to the PropertyPermissions. |
| public Enumeration | Returns: an enumeration of all the PropertyPermission objects.Implements abstract java. Returns an enumeration of all the PropertyPermission objects in the container. |
| public boolean | Returns: true if "permission" is a proper subset of a permission in the set, false if not.the Permission object to compare permission)Implements abstract java. Check and see if this set of permissions implies the permissions expressed in "permission". |
| private void | |
| private void |
| all_allowed | back to summary |
|---|---|
| private boolean all_allowed Boolean saying if "*" is in the collection.
| |
| perms | back to summary |
|---|---|
| private transient ConcurrentHashMap<String, PropertyPermission> perms Key is property name; value is PropertyPermission. Not serialized; see serialization section at end of class.
| |
| serialPersistentFields | back to summary |
|---|---|
private static final ObjectStreamField[] serialPersistentFields
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| PropertyPermissionCollection | back to summary |
|---|---|
| public PropertyPermissionCollection() Create an empty PropertyPermissionCollection object. | |
| add | back to summary |
|---|---|
| public void add(Permission permission) Implements abstract java. Adds a permission to the PropertyPermissions. The key for the hash is the name.
| |
| elements | back to summary |
|---|---|
| public Enumeration Implements abstract java. Returns an enumeration of all the PropertyPermission objects in the container.
| |
| implies | back to summary |
|---|---|
| public boolean implies(Permission permission) Implements abstract java. Check and see if this set of permissions implies the permissions expressed in "permission".
| |
| readObject | back to summary |
|---|---|
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
| |
| writeObject | back to summary |
|---|---|
private void writeObject(ObjectOutputStream out) throws IOException
| |