API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth. PrivateCredentialPermission View Source
Author(s)
Since
Version
1.32, 11/17/05
Serial
Hierarchy
 Object
      Permission
          PrivateCredentialPermission
Implements
Subclasses
Description
publicfinal class PrivateCredentialPermission
  This class is used to protect access to private Credentials belonging to a particular Subject.
See also:   
Constructors
pack-private PrivateCredentialPermission (String credentialClass, Set principals)
Create a new PrivateCredentialPermission with the specified credentialClass and Principals.
public PrivateCredentialPermission (String name, String actions)
  Creates a new PrivateCredentialPermission with the specified name.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Inherited From Permission]
  Implements the guard interface for a permission.
public boolean equals (Object obj) [Specified in Permission]
  Checks two PrivateCredentialPermission objects for equality.
public String getActions () [Specified in Permission]
  Returns the "canonical string representation" of the actions.
public String getCredentialClass ()
  Returns the Class name of the Credential associated with this PrivateCredentialPermission.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public String getPrincipals ()
  Returns the Principal classes and names associated with this PrivateCredentialPermission.
public int hashCode () [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Specified in Permission]
  Checks if this PrivateCredentialPermission implies the specified Permission.
public PermissionCollection newPermissionCollection () [Overrides Permission]
  Return a homogeneous collection of PrivateCredentialPermissions in a PermissionCollection.
public String toString () [Inherited From Permission]
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
  PrivateCredentialPermission.CredOwner
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar