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