Principalpublic 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. |
Methods Summary |
---|
public boolean | equals(java.lang.Object another)Compares this principal to the specified object. Returns true
if the object passed in matches the principal represented by
the implementation of this interface.
| public java.lang.String | getName()Returns the name of this principal.
| public int | hashCode()Returns a hashcode for this principal.
| public java.lang.String | toString()Returns a string representation of this principal.
|
|