Class AuthenticationStepsExecutor
java.lang.Object
org.springframework.vault.authentication.AuthenticationStepsExecutor
- All Implemented Interfaces:
ClientAuthentication
Synchronous executor for
AuthenticationSteps using RestOperations to
login using authentication flows.- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationStepsExecutor(AuthenticationSteps steps, RestOperations restOperations) -
Method Summary
-
Constructor Details
-
AuthenticationStepsExecutor
- Parameters:
steps- must not be null.restOperations- must not be null.
-
-
Method Details
-
login
Description copied from interface:ClientAuthenticationReturn aVaultToken. This method can optionally log into Vault to obtain atoken.- Specified by:
loginin interfaceClientAuthentication- Returns:
- a
VaultToken. - Throws:
VaultException
-