Class Kv2SecurityService
- java.lang.Object
-
- io.helidon.integrations.vault.secrets.kv2.Kv2SecurityService
-
- All Implemented Interfaces:
SecurityProviderService
public class Kv2SecurityService extends Object implements SecurityProviderService
Service loader service implementation forSecurityProviderService
.
-
-
Constructor Summary
Constructors Constructor Description Kv2SecurityService()
Deprecated.Do not use this constructor, this is a service loader service!
-
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.String
providerConfigKey()
Key of the "root" of configuration of this provider.SecurityProvider
providerInstance(Config config)
Create a new instance of the provider based on the configuration provided.
-
-
-
Constructor Detail
-
Kv2SecurityService
@Deprecated public Kv2SecurityService()
Deprecated.Do not use this constructor, this is a service loader service!
-
-
Method Detail
-
providerConfigKey
public String providerConfigKey()
Description copied from interface:SecurityProviderService
Key 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:
providerConfigKey
in interfaceSecurityProviderService
- Returns:
- name of the configuration key
-
providerClass
public Class<? extends SecurityProvider> providerClass()
Description copied from interface:SecurityProviderService
Class 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:
providerClass
in interfaceSecurityProviderService
- Returns:
- class of
SecurityProvider
provided by this provider service
-
providerInstance
public SecurityProvider providerInstance(Config config)
Description copied from interface:SecurityProviderService
Create a new instance of the provider based on the configuration provided. The config is located at the config key of this provider.- Specified by:
providerInstance
in interfaceSecurityProviderService
- Parameters:
config
- Config with provider configuration- Returns:
- provider instance created from the
Config
provided
-
-