public class SecretStoreAccessor extends Object
Constructor and Description |
---|
SecretStoreAccessor() |
Modifier and Type | Method and Description |
---|---|
static KeyStore |
getKeyStore(String name,
SecretStore password) |
static SecretStore |
getSecretStore(String name) |
static SecretStoreFacade |
getSecretStoreFacade()
Returns the
SecretStoreFacade instance. |
static void |
setSecretStoreFacade(SecretStoreFacade secretStoreFacade)
Replaces the default
SecretStoreFacade instance. |
public static void setSecretStoreFacade(SecretStoreFacade secretStoreFacade)
SecretStoreFacade
instance. This method is for internal use only.public static SecretStore getSecretStore(String name) throws SecretStoreException
SecretStore
for the given name.SecretStoreException
- If there is an issue while accessing the SecretStore
.public static KeyStore getKeyStore(String name, SecretStore password) throws KeyStoreException
KeyStore
for the given name.KeyStoreException
- If there is an issue while accessing the KeyStore
.@Nullable @Generated(value="lombok") public static SecretStoreFacade getSecretStoreFacade()
SecretStoreFacade
instance. For internal use only.Copyright © 2017 SAP SE. All rights reserved.