Example usage for Java java.security Principal fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object another) Compares this principal to the specified object. |
Class> | getClass() Returns the runtime class of this Object . |
String | getName() Returns the name of this principal. |
String | toString() Returns a string representation of this principal. |