Interface ICredentialProvider
- All Known Implementing Classes:
AbstractMapCredentialFactory
,AnsibleVaultCredentialFactory
,DelineaCredentialFactory
,FileSystemCredentialFactory
,KubernetesCredentialFactory
,PropertyFileCredentialFactory
,WildFlyCredentialFactory
public interface ICredentialProvider
Interface for a CredentialFactory. A CredentialFactory is responsible for providing credentials to the framework.
Implementations of this interface should be registered in the credentialproperties.properties
file.
Implementations of this interface should be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionreturn a list of all configured aliases, or null if such a list cannot be provided.getCredentials
(CredentialAlias alias) boolean
hasCredentials
(CredentialAlias alias) void
initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.
-
Method Details
-
initialize
initialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.- Throws:
Exception
-
hasCredentials
-
getCredentials
- Throws:
NoSuchElementException
-
getConfiguredAliases
return a list of all configured aliases, or null if such a list cannot be provided.- Throws:
Exception
-