org.springframework.security.oauth.consumer.token
Class HttpSessionBasedTokenServicesFactory

java.lang.Object
  extended by org.springframework.security.oauth.consumer.token.HttpSessionBasedTokenServicesFactory
All Implemented Interfaces:
OAuthConsumerTokenServicesFactory

public class HttpSessionBasedTokenServicesFactory
extends java.lang.Object
implements OAuthConsumerTokenServicesFactory

Stores the tokens in an HTTP session.

Author:
Ryan Heaton

Constructor Summary
HttpSessionBasedTokenServicesFactory()
           
 
Method Summary
 OAuthConsumerTokenServices getTokenServices(org.springframework.security.Authentication authentication, javax.servlet.http.HttpServletRequest request)
          Get the token services for the specified request and authentication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionBasedTokenServicesFactory

public HttpSessionBasedTokenServicesFactory()
Method Detail

getTokenServices

public OAuthConsumerTokenServices getTokenServices(org.springframework.security.Authentication authentication,
                                                   javax.servlet.http.HttpServletRequest request)
Description copied from interface: OAuthConsumerTokenServicesFactory
Get the token services for the specified request and authentication.

Specified by:
getTokenServices in interface OAuthConsumerTokenServicesFactory
Parameters:
authentication - The authentication.
request - The request
Returns:
The token services.


Copyright © 2008. All Rights Reserved.