クラス AuthenticationStepsExecutor

java.lang.ObjectSE
org.springframework.vault.authentication.AuthenticationStepsExecutor
実装されているすべてのインターフェース:
ClientAuthentication

public class AuthenticationStepsExecutor extends ObjectSE implements ClientAuthentication
認証フローを使用してログインするために RestOperations を使用する AuthenticationSteps の同期エグゼキューター。
導入:
2.0
作成者:
Mark Paluch
関連事項:
  • コンストラクターの詳細

    • AuthenticationStepsExecutor

      public AuthenticationStepsExecutor(AuthenticationSteps steps, RestOperations restOperations)
      AuthenticationStepsRestOperations を指定して新しい AuthenticationStepsExecutor を作成します。
      パラメーター:
      steps - null であってはなりません。
      restOperations - null であってはなりません。
    • AuthenticationStepsExecutor

      public AuthenticationStepsExecutor(AuthenticationSteps steps, RestClient client)
      AuthenticationStepsRestOperations を指定して新しい AuthenticationStepsExecutor を作成します。
      パラメーター:
      steps - null であってはなりません。
      client - null であってはなりません。
  • メソッドの詳細

    • login

      public VaultToken login() throws VaultException
      インターフェースからコピーされた説明: ClientAuthentication
      認証された Vault アクセス用の VaultToken を取得します。

      このメソッドは、Vault への認証リクエストを実行するか、キャッシュされたトークンまたは事前構成されたトークンを返す場合があります。

      次で指定:
      インターフェース ClientAuthenticationlogin 
      戻り値:
      後続の認証リクエストの Vault トークン
      例外:
      VaultLoginException - 認証が失敗した場合。
      VaultException
      関連事項: