Impl class of Principal interface.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
Principal to compare with.Overrides java. Implements java. Compares this |
| public String | |
| public int | hashCode()
Overrides java. Implements java. Returns a hashcode for this |
| public String | toString()
Overrides java. Implements java. Returns a string representation of this |
| _name | back to summary |
|---|---|
| private final String _name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| JAASPrincipal | back to summary |
|---|---|
| public JAASPrincipal(String userName) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object p) Overrides java. Implements java. Doc from java. Compares this | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name of this | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns a hashcode for this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. Doc from java. Returns a string representation of this | |