Credentials usually representing a set of claims, often encrypted
or signed. The JWT (JSON Web Token) is among most widely used tokens used at the time
of writing.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. |
| public char[] | getPassword()
Implements org.
Deprecated
Do not use.
|
| public String | |
| public Principal | |
| public int |
| token | back to summary |
|---|---|
| private final String token | |
| BearerToken | back to summary |
|---|---|
| public BearerToken(final String token) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getPassword | back to summary |
|---|---|
| public char[] getPassword() Implements org. Deprecated Do not use.
| |
| getToken | back to summary |
|---|---|
| public String getToken() | |
| getUserPrincipal | back to summary |
|---|---|
| public Principal getUserPrincipal() Implements org.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |