Class VaultBootstrapPropertySourceConfiguration
- java.lang.Object
-
- org.springframework.cloud.vault.config.VaultBootstrapPropertySourceConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@ConditionalOnProperty(name="spring.cloud.vault.enabled", matchIfMissing=true) @EnableConfigurationProperties(VaultKeyValueBackendProperties.class) @Order(2147483637) @Deprecated public class VaultBootstrapPropertySourceConfiguration extends Object implements org.springframework.beans.factory.InitializingBeanDeprecated.since 3.0, usespring.config.import=vault://instead.Auto-configurationfor Spring Vault'sPropertySourceLocatorsupport.- Since:
- 1.1
- Author:
- Mark Paluch, Grenville Wilson, MÃ¥rten Svantesson
-
-
Constructor Summary
Constructors Constructor Description VaultBootstrapPropertySourceConfiguration(VaultProperties vaultProperties, org.springframework.context.ConfigurableApplicationContext applicationContext)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterPropertiesSet()Deprecated.org.springframework.vault.core.lease.SecretLeaseContainersecretLeaseContainer(org.springframework.vault.core.VaultOperations vaultOperations, VaultAutoConfiguration.TaskSchedulerWrapper taskSchedulerWrapper)Deprecated.org.springframework.cloud.bootstrap.config.PropertySourceLocatorvaultPropertySourceLocator(org.springframework.vault.core.VaultOperations operations, VaultProperties vaultProperties, VaultKeyValueBackendProperties kvBackendProperties, org.springframework.beans.factory.ObjectFactory<org.springframework.vault.core.lease.SecretLeaseContainer> secretLeaseContainerObjectFactory)Deprecated.
-
-
-
Constructor Detail
-
VaultBootstrapPropertySourceConfiguration
public VaultBootstrapPropertySourceConfiguration(VaultProperties vaultProperties, org.springframework.context.ConfigurableApplicationContext applicationContext)
Deprecated.
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
Deprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
vaultPropertySourceLocator
@Bean public org.springframework.cloud.bootstrap.config.PropertySourceLocator vaultPropertySourceLocator(org.springframework.vault.core.VaultOperations operations, VaultProperties vaultProperties, VaultKeyValueBackendProperties kvBackendProperties, org.springframework.beans.factory.ObjectFactory<org.springframework.vault.core.lease.SecretLeaseContainer> secretLeaseContainerObjectFactory)Deprecated.
-
secretLeaseContainer
@Bean @Lazy @ConditionalOnMissingBean public org.springframework.vault.core.lease.SecretLeaseContainer secretLeaseContainer(org.springframework.vault.core.VaultOperations vaultOperations, VaultAutoConfiguration.TaskSchedulerWrapper taskSchedulerWrapper)Deprecated.- Parameters:
vaultOperations- theVaultOperations.taskSchedulerWrapper- theVaultAutoConfiguration.TaskSchedulerWrapper.- Returns:
- the
SessionManagerfor Vault session management. - See Also:
SessionManager,LifecycleAwareSessionManager
-
-