@Singleton public class DefaultProviderResolver extends java.lang.Object implements ProviderResolver
ProviderResolver
.Constructor and Description |
---|
DefaultProviderResolver(java.util.List<OpenIdClientConfiguration> openIdClientConfigurations) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Optional<java.lang.String> |
openIdClientNameWhichMatchesIssClaim(Authentication authentication) |
java.util.Optional<java.lang.String> |
resolveProvider(Authentication authentication)
Resolves the provider.
|
public DefaultProviderResolver(java.util.List<OpenIdClientConfiguration> openIdClientConfigurations)
public java.util.Optional<java.lang.String> resolveProvider(Authentication authentication)
ProviderResolver
resolveProvider
in interface ProviderResolver
authentication
- The authenticationprotected java.util.Optional<java.lang.String> openIdClientNameWhichMatchesIssClaim(Authentication authentication)
authentication
- State of authentication