-
Feb 19th, 2013, 12:32 PM
#1
Client Side caching of OAuth2RestTemplate and OAuth2AccessToken possible?
Hi,
My client (website) obtains a access token from a web service. The client is attempting to cache the OAuth2RestTemplate and OAuth2AccessToken in a singleton so that subsequent requests to the web service can be signed with the oauth token.
However I have noticed that even though the client is storing the token and template in a singleton, when a subsequent request is made both the token and restemplate are null??? All other member vars of the single are as they were but those 2 are null every time.
Is this expected? For info: the token is provided for a few mins so there is no reason for it to be numm within seconds.
Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules