Name

Class javax.security.auth.PrivateCredential-Permission

Synopsis

This class represents permission to access the private credentials of a subject. The name of this permission is the name of the subject that you want to access (e.g., “sdo”); specify an asterisk to match all names. The only valid action for this permission is “read” (but you must specify the action in the policy file).

Class Definition

public final class javax.security.auth.PrivateCredentialPermission
    extends java.security.Permission {

    // Constructors
    public PrivateCredentialPermission(String, String);

    // Instance Methods
    public boolean equals(Object);
    public String getActions(  );
    public String getCredentialClass(  );
    public String[][] getPrincipals(  );
    public int hashCode(  );
    public boolean implies(Permission);
    public PermissionCollection newPermissionCollection(  );
}

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.