org.springframework.security.oauth2.provider.authentication
类 OAuth2AuthenticationDetails

java.lang.Object
  继承者 org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationDetails
所有已实现的接口:
Serializable

public class OAuth2AuthenticationDetails
extends Object
implements Serializable

A holder of selected HTTP details related to an OAuth2 authentication request.

作者:
Dave Syer
另请参见:
序列化表格

字段摘要
static String ACCESS_TOKEN_VALUE
           
 
构造方法摘要
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).
 
方法摘要
 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()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

ACCESS_TOKEN_VALUE

public static final String ACCESS_TOKEN_VALUE
构造方法详细信息

OAuth2AuthenticationDetails

public 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).

参数:
request - that the authentication request was received from
方法详细信息

getTokenValue

public String getTokenValue()
The access token value used to authenticate the request (normally in an authorization header).

返回:
the tokenValue used to authenticate the request

getRemoteAddress

public String getRemoteAddress()
Indicates the TCP/IP address the authentication request was received from.

返回:
the address

getSessionId

public String getSessionId()
Indicates the HttpSession id the authentication request was received from.

返回:
the session ID

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All rights reserved.