Hi,
I am migrating from spring-security-oauth from M4 to 1.0.0-RELEASE and having difficulty understanding token-acquring logic that has moved into OAuth2RestTemplate.
In M4, for the http request being processed, the access token used to be cached in OAuth2ClientContextHolder.
But now, I see that there is just one copy of "OAuth2ClientContext" that OAuth2RestTemplate uses. So, how does it prevent the mixing-up of access tokens if multiple http requests (belonging to different users) are being processed simultaneously, say?
Is there any sample / reference app that shows how OAuth2RestTemplate should be configured / used now?
Regards,
Roshan


Reply With Quote
