Class OAuth2IdentityProvider

All Implemented Interfaces:
ReadOnlyIdentityProvider, WritableIdentityProvider, Session

public class OAuth2IdentityProvider extends DbIdentityServiceProvider
OAuth2 identity provider with fallback for DbIdentityServiceProvider if the Spring security context doesn't contain an authenticated user.

Since the fallback DbIdentityServiceProvider is a writeable provider this class is also writeable but with OAuth2 authentication it works effectively as a read-only provider.