org.springframework.security.oauth.consumer
Class OAuthSecurityContextImpl
java.lang.Object
org.springframework.security.oauth.consumer.OAuthSecurityContextImpl
- All Implemented Interfaces:
- OAuthSecurityContext
public class OAuthSecurityContextImpl
- extends Object
- implements OAuthSecurityContext
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthSecurityContextImpl
public OAuthSecurityContextImpl()
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 © 2013. All rights reserved.