Principalpublic interface Principal {@code Principal}s are objects which have identities. These can be
individuals, groups, corporations, unique program executions, etc. |
Methods Summary |
---|
public boolean | equals(java.lang.Object obj)Compares the specified object with this {@code Principal} for equality
and returns {@code true} if the specified object is equal, {@code false}
otherwise.
| public java.lang.String | getName()Returns the name of this {@code Principal}.
| public int | hashCode()Returns the hash code value for this {@code Principal}. Returns the same
hash code for {@code Principal}s that are equal to each other as
required by the general contract of {@link Object#hashCode}.
| public java.lang.String | toString()Returns a string containing a concise, human-readable description of
this {@code Principal}.
|
|