Name

Interface java.security.Principal

Synopsis

A principal is anything that has a name, such as an identity. The name in this case is often an X.500 distinguished name, but that is not a requirement.

Interface Definition

public interface java.security.Principal {

	// Instance Methods
	public abstract boolean equals(Object);
	public abstract String getName(  );
	public abstract int hashCode(  );
	public abstract String toString(  );
}

See also

Identity

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.