public abstract class AbstractSecretStoreFacade extends Object implements SecretStoreFacade
SecretStoreFacade
.Constructor and Description |
---|
AbstractSecretStoreFacade() |
Modifier and Type | Method and Description |
---|---|
KeyStore |
getKeyStore(String name,
SecretStore password)
Retrieves a
KeyStore by its name. |
SecretStore |
getSecretStore(String name)
Retrieves a
SecretStore by its name. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyStoreIfPresent, getSecretStoreClass, getSecretStoreIfPresent
@Nonnull public SecretStore getSecretStore(String name) throws SecretStoreNotFoundException, SecretStoreAccessException
SecretStore
by its name.getSecretStore
in interface SecretStoreFacade
name
- The name identifying a SecretStore
.SecretStore
for the given name.SecretStoreNotFoundException
- If the SecretStore
cannot be found.SecretStoreAccessException
- If there is an issue while accessing the SecretStore
.@Nonnull public KeyStore getKeyStore(String name, SecretStore password) throws KeyStoreNotFoundException, KeyStoreAccessException
KeyStore
by its name.getKeyStore
in interface SecretStoreFacade
name
- The name identifying a KeyStore
.password
- The password to unlock the KeyStore
.KeyStore
for the given name.KeyStoreNotFoundException
- If the KeyStore
cannot be found.KeyStoreAccessException
- If there is an issue while accessing the KeyStore
.Copyright © 2018 SAP SE. All rights reserved.