public class DefaultVaultTemplateFactory extends Object implements VaultTemplateFactory
VaultTemplate.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONNECTION_TIMEOUT_MILLIS |
static int |
DEFAULT_READ_TIMEOUT_MILLIS |
static String |
VAULT_CONNECTION_TIMEOUT_MILLIS_SYSTEM_PROPERTY |
static String |
VAULT_READ_TIMEOUT_MILLIS_SYSTEM_PROPERTY |
| Constructor and Description |
|---|
DefaultVaultTemplateFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.vault.core.VaultTemplate |
getTemplate(URI endpoint,
org.springframework.vault.authentication.ClientAuthentication authentication)
Returns a VaultTemplate object with the specified endpoint and authentication.
|
public static final int DEFAULT_CONNECTION_TIMEOUT_MILLIS
public static final int DEFAULT_READ_TIMEOUT_MILLIS
public static final String VAULT_CONNECTION_TIMEOUT_MILLIS_SYSTEM_PROPERTY
public static final String VAULT_READ_TIMEOUT_MILLIS_SYSTEM_PROPERTY
public org.springframework.vault.core.VaultTemplate getTemplate(URI endpoint, org.springframework.vault.authentication.ClientAuthentication authentication)
getTemplate in interface VaultTemplateFactoryendpoint - the URI of the Vault serverauthentication - the client authentication to be used for communication with the Vault serverCopyright © 2023 Atlassian. All rights reserved.