Located in compilation unit of java.
AllPermissionCollection stores a collection
of AllPermission permissions. AllPermission objects
must be stored in a manner that allows them to be inserted in any
order, but enable the implies function to evaluate the implies
method in an efficient (and consistent) manner.
java.security.Permission , java.security.Permissions
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(Permission
the permission)Permission object to add.Implements abstract java. Adds a permission to the |
| public Enumeration | Returns: an enumeration of all theAllPermission objects.Implements abstract java. Returns an enumeration of all the |
| public boolean | Returns: always returnstrue.the permission)Permission object to compareImplements abstract java. Check and see if this set of permissions implies the permissions expressed in "permission". |
| all_allowed | back to summary |
|---|---|
| private boolean all_allowed | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| AllPermissionCollection | back to summary |
|---|---|
| public AllPermissionCollection() Create an empty | |
| add | back to summary |
|---|---|
| public void add(Permission permission) Implements abstract java. Adds a permission to the
| |
| elements | back to summary |
|---|---|
| public Enumeration Implements abstract java. Returns an enumeration of all the
| |
| 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".
| |