javax.security.jacc
private static final class WebResourcePermission.WebResourcePermissionCollection extends PermissionCollection
Method Summary | |
---|---|
void | add(Permission permission)
Adds a permission object to the current collection of permission objects.
|
Enumeration | elements()
Returns an enumeration of all the Permission objects in the collection.
|
boolean | implies(Permission permission)
Checks to see if the specified permission is implied by
the collection of Permission objects held in this PermissionCollection.
|
Parameters: permission the Permission object to add.
Throws: SecurityException - if this PermissionCollection object has been marked readonly
Returns: an enumeration of all the Permissions.
Parameters: permission the Permission object to compare.
Returns: true if "permission" is implied by the permissions in the collection, false if not.