Located in compilation unit of org.
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 Map | filterPermissions
Table of permissions with filter expressions. |
| private transient Map | permissions
Table of permissions. |
| private static final ObjectStreamField[] | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(final Permission
The Permission object to add. permission)Implements abstract java. Adds a permission to this permission collection. |
| private int | |
| public synchronized Enumeration | Returns: Enumeration of all the ServicePermission objects.Implements abstract java. Returns an enumeration of all the |
| 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
|
| private synchronized void | |
| private synchronized void |
| all_allowed | back to summary |
|---|---|
| private boolean all_allowed Boolean saying if "*" is in the collection. | |
| filterPermissions | back to summary |
|---|---|
| private Map<String, ServicePermission> filterPermissions Table of permissions with filter expressions. | |
| permissions | back to summary |
|---|---|
| private transient Map<String, ServicePermission> permissions Table of permissions. | |
| serialPersistentFields | back to summary |
|---|---|
| private static final ObjectStreamField[] serialPersistentFields | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| ServicePermissionCollection | back to summary |
|---|---|
| public ServicePermissionCollection() Creates an empty ServicePermissions object. | |
| add | back to summary |
|---|---|
| public void add(final Permission permission) Implements abstract java. Adds a permission to this permission collection.
| |
| effective | back to summary |
|---|---|
| private int effective(String requestedName, final int desired, int effective) Consult permissions map to compute the effective permission for the requested permission name.
| |
| elements | back to summary |
|---|---|
| public synchronized Enumeration Implements abstract java. Returns an enumeration of all the
| |
| implies | back to summary |
|---|---|
| public boolean implies(final Permission permission) Implements abstract java. Determines if a set of permissions implies the permissions expressed in
| |
| readObject | back to summary |
|---|---|
| private synchronized void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| writeObject | back to summary |
|---|---|
| private synchronized void writeObject(ObjectOutputStream out) throws IOException | |