public class DefaultSecretStoreProvider extends Object implements SecretStoreProvider
ATLASSIAN_PASSWORD_CIPHER_PROVIDER_PROPERTY_KEY, ATLASSIAN_PASSWORD_CIPHER_PROVIDER_XML_KEY| Constructor and Description |
|---|
DefaultSecretStoreProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultSecretStoreClassName() |
Optional<SecretStore> |
getInstance(String className)
Uses reflection to obtain an instance of the
SecretStore implementation. |
public String getDefaultSecretStoreClassName()
getDefaultSecretStoreClassName in interface SecretStoreProviderBase64SecretStorepublic Optional<SecretStore> getInstance(String className)
SecretStore implementation.getInstance in interface SecretStoreProviderclassName - canonical name of the Class which implements SecretStore and should be initiated.SecretStore packed inside Optional or Optional.empty() in case passed param is null or empty.IllegalArgumentException - in case of ClassNotFoundException, InstantiationException or IllegalAccessExceptionCopyright © 2023 Atlassian. All rights reserved.