Class PropertiesSecretsProvider
java.lang.Object
com.evolveum.midpoint.common.secrets.SecretsProviderImpl<PropertiesSecretsProviderType>
com.evolveum.midpoint.common.secrets.PropertiesSecretsProvider
- All Implemented Interfaces:
SecretsProvider<PropertiesSecretsProviderType>
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.prism.crypto.SecretsProvider
EMPTY_DEPENDENCIES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Post-construction initialization.protected <ST> ST
resolveSecret
(@NotNull String key, @NotNull Class<ST> type) Should return secret value for given key or null if the secret does not exist.Methods inherited from class com.evolveum.midpoint.common.secrets.SecretsProviderImpl
getConfiguration, getIdentifier, getSecretBinary, getSecretString, mapValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.crypto.SecretsProvider
destroy, getDependencies
-
Constructor Details
-
PropertiesSecretsProvider
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:SecretsProvider
Post-construction initialization. Called before the provider is added to the list of usable providers. -
resolveSecret
protected <ST> ST resolveSecret(@NotNull @NotNull String key, @NotNull @NotNull Class<ST> type) throws EncryptionException Description copied from class:SecretsProviderImpl
Should return secret value for given key or null if the secret does not exist.- Specified by:
resolveSecret
in classSecretsProviderImpl<PropertiesSecretsProviderType>
- Throws:
EncryptionException
- if the secret cannot be resolved (e.g. due to network problems, or unforeseen error)
-