public class OAuth2AuthenticationDetails extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN_TYPE |
static String |
ACCESS_TOKEN_VALUE |
Constructor and Description |
---|
OAuth2AuthenticationDetails(javax.servlet.http.HttpServletRequest request)
Records the access token value and remote address and will also set the session Id if a session already exists
(it won't create one).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getDecodedDetails()
The authentication details obtained by decoding the access token
if available.
|
String |
getRemoteAddress()
Indicates the TCP/IP address the authentication request was received from.
|
String |
getSessionId()
Indicates the
HttpSession id the authentication request was received from. |
String |
getTokenType()
The access token type used to authenticate the request (normally in an authorization header).
|
String |
getTokenValue()
The access token value used to authenticate the request (normally in an authorization header).
|
int |
hashCode() |
void |
setDecodedDetails(Object decodedDetails)
The authentication details obtained by decoding the access token
if available.
|
String |
toString() |
public static final String ACCESS_TOKEN_VALUE
public static final String ACCESS_TOKEN_TYPE
public OAuth2AuthenticationDetails(javax.servlet.http.HttpServletRequest request)
request
- that the authentication request was received frompublic String getTokenValue()
public String getTokenType()
public String getRemoteAddress()
public String getSessionId()
HttpSession
id the authentication request was received from.public Object getDecodedDetails()
public void setDecodedDetails(Object decodedDetails)
decodedDetails
- the decodedDetails to setCopyright © 2019. All rights reserved.