public abstract class SpringVaultClientAuthenticationProvider extends Object
Modifier and Type | Field and Description |
---|---|
protected VaultEnvironmentProperties.AuthenticationMethod |
supportedAuthenticationMethod |
protected static String |
VAULT_PROPERTIES_PREFIX |
Modifier | Constructor and Description |
---|---|
protected |
SpringVaultClientAuthenticationProvider(VaultEnvironmentProperties.AuthenticationMethod supportedAuthenticationMethod) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertClassPresent(String className,
String message) |
abstract org.springframework.vault.authentication.ClientAuthentication |
getClientAuthentication(VaultEnvironmentProperties vaultProperties,
org.springframework.web.client.RestOperations vaultRestOperations,
org.springframework.web.client.RestOperations externalRestOperations) |
protected String |
missingClassForAuthMethod(String className,
String classArtifact,
VaultEnvironmentProperties.AuthenticationMethod authenticationMethod) |
protected String |
missingPropertyForAuthMethod(String propertyName,
VaultEnvironmentProperties.AuthenticationMethod authenticationMethod) |
boolean |
supports(VaultEnvironmentProperties properties) |
protected static final String VAULT_PROPERTIES_PREFIX
protected final VaultEnvironmentProperties.AuthenticationMethod supportedAuthenticationMethod
protected SpringVaultClientAuthenticationProvider(VaultEnvironmentProperties.AuthenticationMethod supportedAuthenticationMethod)
public boolean supports(VaultEnvironmentProperties properties)
public abstract org.springframework.vault.authentication.ClientAuthentication getClientAuthentication(VaultEnvironmentProperties vaultProperties, org.springframework.web.client.RestOperations vaultRestOperations, org.springframework.web.client.RestOperations externalRestOperations)
protected String missingPropertyForAuthMethod(String propertyName, VaultEnvironmentProperties.AuthenticationMethod authenticationMethod)
protected String missingClassForAuthMethod(String className, String classArtifact, VaultEnvironmentProperties.AuthenticationMethod authenticationMethod)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.