Class ConfigVaultProviderService
- java.lang.Object
-
- io.helidon.security.providers.config.vault.ConfigVaultProviderService
-
- All Implemented Interfaces:
SecurityProviderService
@Priority(5000) public class ConfigVaultProviderService extends Object implements SecurityProviderService
Java Service Loader implementation of aSecurityprovider service. Do not instantiate directly.
-
-
Constructor Summary
Constructors Constructor Description ConfigVaultProviderService()Deprecated.do not use, this should only be invoked by Java Service Loader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends SecurityProvider>providerClass()Class of the provider of this provider service.StringproviderConfigKey()Key of the "root" of configuration of this provider.SecurityProviderproviderInstance(Config config)Create a new instance of the provider based on the configuration provided.
-
-
-
Constructor Detail
-
ConfigVaultProviderService
@Deprecated public ConfigVaultProviderService()
Deprecated.do not use, this should only be invoked by Java Service Loader- See Also:
ConfigVaultProvider
-
-
Method Detail
-
providerConfigKey
public String providerConfigKey()
Description copied from interface:SecurityProviderServiceKey of the "root" of configuration of this provider.Example - 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 defined- Specified by:
providerConfigKeyin interfaceSecurityProviderService- Returns:
- name of the configuration key
-
providerClass
public Class<? extends SecurityProvider> providerClass()
Description copied from interface:SecurityProviderServiceClass of the provider of this provider service. The class may be used for cases where configuration requires explicit class name (e.g. when multiple providers use the same configuration key).- Specified by:
providerClassin interfaceSecurityProviderService- Returns:
- class of
SecurityProviderprovided by this provider service
-
providerInstance
public SecurityProvider providerInstance(Config config)
Description copied from interface:SecurityProviderServiceCreate a new instance of the provider based on the configuration provided. The config is located at the config key of this provider.- Specified by:
providerInstancein interfaceSecurityProviderService- Parameters:
config- Config with provider configuration- Returns:
- provider instance created from the
Configprovided
-
-