Create an empty BasicPermissionCollection object.
Adds a permission to the BasicPermissions. The key for the hash is permission.path.
Returns an enumeration of all the BasicPermission objects in the container.
Check and see if this set of permissions implies the permissions expressed in "permission".
Adds a permission object to the current collection of permission objects.
Checks to see if the specified permission is implied by the collection of Permission objects held in this PermissionCollection.
Returns an enumeration of all the Permission objects in the collection.
Marks this PermissionCollection object as "readonly". After a PermissionCollection object is marked as readonly, no new Permission objects can be added to it using {@code add}.
Returns true if this PermissionCollection object is marked as readonly. If it is readonly, no new Permission objects can be added to it using {@code add}.
Returns a string describing this PermissionCollection object, providing information about all the permissions it contains. The format is: <pre> super.toString() ( // enumerate all the Permission // objects and call toString() on them, // one per line.. )</pre>
A BasicPermissionCollection stores a collection of BasicPermission permissions. BasicPermission 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.
A BasicPermissionCollection handles comparing a permission like "a.b.c.d.e" with a Permission such as "a.b.*", or "*".
@see java.security.Permission @see java.security.Permissions