org.springframework.security.oauth.consumer
Class OAuthSecurityContextImpl

java.lang.Object
  extended by org.springframework.security.oauth.consumer.OAuthSecurityContextImpl
All Implemented Interfaces:
OAuthSecurityContext

public class OAuthSecurityContextImpl
extends Object
implements OAuthSecurityContext

Author:
Ryan Heaton

Constructor Summary
OAuthSecurityContextImpl()
           
 
Method Summary
 Map<String,OAuthConsumerToken> getAccessTokens()
          Get the access tokens for the current context.
 Object getDetails()
          Any details for this security this context.
 void setAccessTokens(Map<String,OAuthConsumerToken> accessTokens)
           
 void setDetails(Object details)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthSecurityContextImpl

public OAuthSecurityContextImpl()
Method Detail

getAccessTokens

public Map<String,OAuthConsumerToken> getAccessTokens()
Description copied from interface: OAuthSecurityContext
Get the access tokens for the current context.

Specified by:
getAccessTokens in interface OAuthSecurityContext
Returns:
The access tokens for the current context. The key to the map is the id of the protected resource for which the access token is valid.

setAccessTokens

public void setAccessTokens(Map<String,OAuthConsumerToken> accessTokens)

getDetails

public Object getDetails()
Description copied from interface: OAuthSecurityContext
Any details for this security this context.

Specified by:
getDetails in interface OAuthSecurityContext
Returns:
Any details for this security context.

setDetails

public void setDetails(Object details)


Copyright © 2012. All Rights Reserved.