java.security
public final class AllPermission extends Permission
Since: 1.1
See Also: AccessController Permissions SecurityManager
UNKNOWN: updated to 1.4
Constructor Summary | |
---|---|
AllPermission()
Create a new AllPermission object. | |
AllPermission(String name, String actions)
Create a new AllPermission object. |
Method Summary | |
---|---|
boolean | equals(Object obj)
Checks an object for equality. |
String | getActions()
This method returns the list of actions associated with this object.
|
int | hashCode()
This method returns a hash code for this object. |
boolean | implies(Permission perm)
This method always returns true to indicate that this
permission always implies that any other permission is also granted.
|
PermissionCollection | newPermissionCollection()
Returns a PermissionCollection which can hold AllPermission.
|
Parameters: name ignored actions ignored
Parameters: obj the Object
to test for equality
Returns: the action list
Returns: a hash value for this object
true
to indicate that this
permission always implies that any other permission is also granted.
Parameters: perm ignored
Returns: true, the permission is implied
Returns: a permission collection