public class OAuthAuthenticationToken extends java.lang.Object implements UESAuthenticationToken
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
realm
OAuth realm.
|
private java.lang.String |
subjectId
Subject Id.
|
| Constructor and Description |
|---|
OAuthAuthenticationToken(java.lang.String realm,
Creates a new instance of OAuthAuthenticationToken.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCredentials()
The credentials that prove the principal is correct.
|
java.util.Map<java.lang.String,java.lang.Object> |
getDetails()
Stores additional details about the authentication request.
|
Principal |
getPrincipal()
The identity of the principal being authenticated.
|
java.lang.String |
getSecurityRealm()
The security realm which should be used for authentication.
|
java.lang.String |
toString() |
realm - OAuth realmsubjectId - subject IdUESAuthenticationService. Callers are
expected to populate the credentials.getCredentials in interface UESAuthenticationTokenPrincipalgetDetails in interface UESAuthenticationTokennull if not usedgetPrincipal in interface UESAuthenticationTokenPrincipal being authenticatedgetSecurityRealm in interface UESAuthenticationTokentoString in class java.lang.Object