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.
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.
Compares this principal to the specified object. Returns true if the object passed in matches the principal represented by the implementation of this interface.
Returns:
true if the principal passed in is the same as that
encapsulated by this principal, and false otherwise.
Parameters: - another - principal to compare with.