| |
|
| java.lang.Object java.security.PermissionCollection java.security.AllPermissionCollection
AllPermissionCollection | final class AllPermissionCollection extends PermissionCollection (Code) | | Specific PermissionCollection for storing AllPermissions. All instances of
AllPermission are equivalent, so it is enough to store a single added
instance.
|
Inner Class :final static class SingletonEnumeration implements Enumeration<E> | |
add | public void add(Permission permission)(Code) | | Adds an AllPermission to the collection.
|
implies | public boolean implies(Permission permission)(Code) | | Indicates whether the argument permission is implied by the receiver.
AllPermission objects imply all other permissions.
boolean true if the argument permission is impliedby the receiver, and false if it is not. Parameters: permission - java.security.Permission the permission to check |
|
|
|