クラス UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
java.lang.ObjectSE
org.springframework.vault.authentication.UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
- 含まれているクラス:
- UsernamePasswordAuthenticationOptions
public static class UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
extends ObjectSE
方法の概要
修飾子と型メソッド説明build()新しいUsernamePasswordAuthenticationOptionsインスタンスを作成します。password(CharSequenceSE password) userpass 認証用にpasswordを構成します。マウントパスを構成します。totp(CharSequenceSE totp) ユーザーパス /Okta 認証用にオプションのtotp(時間ベースのワンタイムトークン) を構成します。userpass 認証用にusernameを構成します。
メソッドの詳細
username
public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder username(StringSE username) userpass 認証用にusernameを構成します。- パラメーター:
username- 空または null であってはなりません。- 戻り値:
thisUsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder。
password
public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder password(CharSequenceSE password) userpass 認証用にpasswordを構成します。- パラメーター:
password- null であってはなりません。- 戻り値:
thisUsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder。
totp
public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder totp(CharSequenceSE totp) ユーザーパス /Okta 認証用にオプションのtotp(時間ベースのワンタイムトークン) を構成します。- パラメーター:
totp- null であってはなりません。- 戻り値:
thisUsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder。
path
public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder path(StringSE path) マウントパスを構成します。- パラメーター:
path- null または空であってはなりません。- 戻り値:
thisUsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder。
build
新しいUsernamePasswordAuthenticationOptionsインスタンスを作成します。- 戻り値:
- 新しい
UsernamePasswordAuthenticationOptions。