API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. Principal View Source
Author(s)
Li Gong
Since
Version
1.23, 05/11/17
Serial
Hierarchy
 Principal
Subinterfaces
 Group
Description
public interface Principal
  This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and a login id.
See also:    X509Certificate
Methods
Hide/Show inherited methods
public boolean equals (Object another)
  Compares this principal to the specified object.
public String getName ()
  Returns the name of this principal.
public int hashCode ()
  Returns a hashcode for this principal.
public String toString ()
  Returns a string representation of this principal.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar