|
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
javax.security.auth.PrivateCredentialPermission
public final class PrivateCredentialPermission
| Constructor Summary | |
|---|---|
PrivateCredentialPermission(String credentialClass,
Set<Principal> principals)
Creates a PrivateCredentialPermission from the Credential Class
and Set of Principals |
|
PrivateCredentialPermission(String name,
String action)
|
|
| 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. |
String |
getCredentialClass()
|
String[][] |
getPrincipals()
|
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 PrivateCredentialPermission(String name,
String action)
PrivateCredentialPermission(String credentialClass,
Set<Principal> principals)
PrivateCredentialPermission from the Credential Class
and Set of Principals
credentialClass - - credential class nameprincipals - - principal set| Method Detail |
|---|
public String[][] getPrincipals()
public String getActions()
Permission
getActions in class Permissionpublic String getCredentialClass()
public int hashCode()
Permissiontrue when passed to .equals must
answer the same value for this method.
hashCode in class PermissionPermission.equals(java.lang.Object)public boolean equals(Object obj)
Object
equals in class Permissionobj - Object the object to compare with this object.
true if the object is the same as this
object false if it is different from this object.Object.hashCode()public boolean implies(Permission permission)
Permission
implies in class Permissionpermission - Permission the permission to check.
true if the argument permission is implied
by the receiver, and false if it is not.public PermissionCollection newPermissionCollection()
Permission
newPermissionCollection in class Permission
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||