public class OAuth2AuthenticationDetails extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|---|
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 |
getTokenValue()
The access token value used to authenticate the request (normally in an authorization header).
|
String |
toString() |
public static final String ACCESS_TOKEN_VALUE
public OAuth2AuthenticationDetails(javax.servlet.http.HttpServletRequest request)
request - that the authentication request was received frompublic String getTokenValue()
public String getRemoteAddress()
public String getSessionId()
HttpSession id the authentication request was received from.Copyright © 2014. All rights reserved.