public class OidcProviderService extends java.lang.Object implements SecurityProviderService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROVIDER_CONFIG_KEY
The default configuration key expected under security.providers that would contain
configuration of a provider instance.
|
| Constructor and Description |
|---|
OidcProviderService() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends SecurityProvider> |
getProviderClass()
Class of the provider of this provider service.
|
SecurityProvider |
getProviderInstance(Config config)
Create a new instance of the provider based on the configuration
provided.
|
java.lang.String |
providerConfigKey()
Key of the "root" of configuration of this provider.
|
public static final java.lang.String PROVIDER_CONFIG_KEY
public java.lang.String providerConfigKey()
SecurityProviderServiceExample - Http Signature Provider may use "http-signatures", the configuration in yaml may then be:
security.providers:
- http-signatures:
inbound:
....
The name of the provider is the same string, unless explicitly definedproviderConfigKey in interface SecurityProviderServicepublic java.lang.Class<? extends SecurityProvider> getProviderClass()
SecurityProviderServicegetProviderClass in interface SecurityProviderServiceSecurityProvider provided by this provider servicepublic SecurityProvider getProviderInstance(Config config)
SecurityProviderServicegetProviderInstance in interface SecurityProviderServiceconfig - Config with provider configurationConfig providedCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.