spring-security/oauth2
Phil Clay 9520e3a1c0 Make UnAuthenticatedServerOAuth2AuthorizedClientRepository threadsafe
Previously UnAuthenticatedServerOAuth2AuthorizedClientRepository used a HashMap for storing OAuth2AuthorizedClients.
UnAuthenticatedServerOAuth2AuthorizedClientRepository and its HashMap are potentially accessed by multiple threads without any synchronization.
Since HashMap is not threadsafe itself, this makes UnAuthenticatedServerOAuth2AuthorizedClientRepository not threadsafe.

Now UnAuthenticatedServerOAuth2AuthorizedClientRepository uses a ConcurrentHashMap for storing OAuth2AuthorizedClients.
Since ConcurrentHashMap is threadsafe, UnAuthenticatedServerOAuth2AuthorizedClientRepository will now be threadsafe as well.

Fixes gh-6717
2019-04-01 17:03:58 -04:00
..
oauth2-client Make UnAuthenticatedServerOAuth2AuthorizedClientRepository threadsafe 2019-04-01 17:03:58 -04:00
oauth2-core URL Cleanup 2019-03-19 23:53:23 -05:00
oauth2-jose URL Cleanup 2019-03-19 23:53:23 -05:00
oauth2-resource-server Multi-tenancy for Resource Server 2019-03-29 15:00:48 -06:00