Class AbstractReactiveVaultConfiguration

java.lang.Object
org.springframework.vault.config.AbstractVaultConfiguration
org.springframework.vault.config.AbstractReactiveVaultConfiguration
All Implemented Interfaces:
Aware, ApplicationContextAware

@Configuration(proxyBeanMethods=false) public abstract class AbstractReactiveVaultConfiguration extends AbstractVaultConfiguration
Base class for Spring Vault configuration using JavaConfig for a reactive infrastructure.

Reactive Vault support creates a ReactiveSessionManager (for the session token) from the configured AbstractVaultConfiguration.clientAuthentication() via vaultTokenSupplier(). The authentication object must implement AuthenticationStepsFactory exposing AuthenticationSteps to obtain authentication using reactive infrastructure.

This configuration class provides configuration for imperative and reactive usage. Using this configuration creates an imperative SessionManager adapter by wrapping reactiveSessionManager().

Subclasses may override methods to customize configuration.

Since:
2.0
Author:
Mark Paluch