Located in compilation unit of org.
WirePermissionCollection stores a set of WirePermission
permissions.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | all_allowed
Boolean saying if "*" is in the collection. |
| private final Hashtable | permissions
Table of permissions. |
| pack-priv 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 this PermissionCollection. |
| public Enumeration | Returns: Enumeration of all the Permission objects.Implements abstract java. Returns an enumeration of all the Permission objects in the container. |
| public boolean | Returns: true if permission is a proper subset of a
permission in the set; false otherwise.The Permission object to compare. permission)Implements abstract java. Determines if a set of permissions implies the permissions expressed in
|
| all_allowed | back to summary |
|---|---|
| private boolean all_allowed Boolean saying if "*" is in the collection. | |
| permissions | back to summary |
|---|---|
| private final Hashtable<String, WirePermission> permissions Table of permissions. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| WirePermissionCollection | back to summary |
|---|---|
| public WirePermissionCollection() Creates an empty WirePermissionCollection object. | |
| add | back to summary |
|---|---|
| public void add(Permission permission) Implements abstract java. Adds a permission to this PermissionCollection.
| |
| elements | back to summary |
|---|---|
| public Enumeration Implements abstract java. Returns an enumeration of all the Permission objects in the container.
| |
| implies | back to summary |
|---|---|
| public boolean implies(Permission permission) Implements abstract java. Determines if a set of permissions implies the permissions expressed in
| |