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
ConstructorDescriptionAuthenticationStepsExecutor
(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:ClientAuthentication
Return aVaultToken
. This method can optionally log into Vault to obtain atoken
.- Specified by:
login
in interfaceClientAuthentication
- Returns:
- a
VaultToken
. - Throws:
VaultException
-