|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.Permission
java.security.AllPermission
public final class AllPermission
Subclass of Permission whose instances imply all other permissions. Granting this permission is equivalent to disabling security.
| Constructor Summary | |
|---|---|
AllPermission()
Constructs a new instance of this class. |
|
AllPermission(String name,
String actions)
Constructs a new instance of this class. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares the argument to the receiver, and returns true if they represent the same object using a class specific comparison. |
String |
getActions()
Returns the actions associated with the receiver. |
int |
hashCode()
Returns an integer hash code for the receiver. |
boolean |
implies(Permission permission)
Indicates whether the argument permission is implied by the receiver. |
PermissionCollection |
newPermissionCollection()
Returns a new PermissionCollection for holding permissions of this class. |
| Methods inherited from class java.security.Permission |
|---|
checkGuard, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AllPermission(String name,
String actions)
Policy so that it has a consistent call
pattern across all Permissions. The name and action list are both
ignored.
name - java.lang.String ignored.actions - java.lang.String ignored.public AllPermission()
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Permissionobj - the object to compare with this object
true if the object is the same as this object
false if it is different from this objecthashCode()public int hashCode()
true when passed to equals must
answer the same value for this method.
hashCode in class Permissionequals(java.lang.Object)public String getActions()
getActions in class Permissionpublic boolean implies(Permission permission)
implies in class Permissionpermission - java.security.Permission the permission to check
true if the argument permission is implied
by the receiver, and false if it is not.public PermissionCollection newPermissionCollection()
newPermissionCollection in class PermissionBasicPermissionCollection
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||