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 UESAuthenticationToken
Principal
getDetails
in interface UESAuthenticationToken
null
if not usedgetPrincipal
in interface UESAuthenticationToken
Principal
being authenticatedgetSecurityRealm
in interface UESAuthenticationToken
toString
in class java.lang.Object