Class AbstractKubernetesCredentialProvider
java.lang.Object
org.frankframework.credentialprovider.AbstractKubernetesCredentialProvider
- All Implemented Interfaces:
ISecretProvider
- Direct Known Subclasses:
KubernetesCredentialFactory, KubernetesNamedSecretProvider
public abstract class AbstractKubernetesCredentialProvider
extends Object
implements ISecretProvider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanhasSecret(@NonNull CredentialAlias alias) final voidinitialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.protected booleanisAliasNameValid(CredentialAlias alias) A Kubernetes secret name must start and end with an alphanumeric character (RFC 1123).protected abstract voidpostInitialize(CredentialConstants appConstants) protected voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISecretProvider
getConfiguredAliases, getSecret
-
Field Details
-
DEFAULT_NAMESPACE
- See Also:
-
namespace
-
client
protected io.fabric8.kubernetes.client.KubernetesClient client
-
-
Constructor Details
-
AbstractKubernetesCredentialProvider
public AbstractKubernetesCredentialProvider()
-
-
Method Details
-
initialize
public final void initialize()Description copied from interface:ISecretProviderinitialize() of an implementation can throw an exception when the credentialFactory cannot be properly configured and used.- Specified by:
initializein interfaceISecretProvider
-
postInitialize
-
hasSecret
- Specified by:
hasSecretin interfaceISecretProvider
-
isAliasNameValid
A Kubernetes secret name must start and end with an alphanumeric character (RFC 1123). Allowed characters are already validated byCredentialAlias, so we only check the boundaries. -
warnIfAliasNameInvalid
-
close
public void close()
-