equals(Object) method

Method to check for equality of BasicSecNamePrincipal objects based on name.

Syntax

boolean equals ( Object o )

Returns

boolean value if the passed in Object's name is identical to that of the current instance.