|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationDetails
public class OAuth2AuthenticationDetails
A holder of selected HTTP details related to an OAuth2 authentication request.
| Field Summary | |
|---|---|
static String |
ACCESS_TOKEN_VALUE
|
| Constructor Summary | |
|---|---|
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). |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ACCESS_TOKEN_VALUE
| Constructor Detail |
|---|
public OAuth2AuthenticationDetails(javax.servlet.http.HttpServletRequest request)
request - that the authentication request was received from| Method Detail |
|---|
public String getTokenValue()
public String getRemoteAddress()
public String getSessionId()
HttpSession id the authentication request was received from.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||