public static class UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder extends Object
UsernamePasswordAuthenticationOptions
.Modifier and Type | Method and Description |
---|---|
UsernamePasswordAuthenticationOptions |
build()
Build a new
UsernamePasswordAuthenticationOptions instance. |
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder |
password(CharSequence password)
Configure a
password for userpass authentication. |
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder |
path(String path)
Configure the mount path.
|
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder |
totp(CharSequence totp)
Configure an optional
totp (time-based one-time token) for
userpass/Okta authentication. |
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder |
username(String username)
Configure a
username for userpass authentication. |
public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder username(String username)
username
for userpass authentication.username
- must not be empty or null.this
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
.public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder password(CharSequence password)
password
for userpass authentication.password
- must not be null.this
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
.public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder totp(CharSequence totp)
totp
(time-based one-time token) for
userpass/Okta authentication.totp
- must not be null.this
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
.public UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder path(String path)
path
- must not be null or empty.this
UsernamePasswordAuthenticationOptions.UsernamePasswordAuthenticationBuilder
.public UsernamePasswordAuthenticationOptions build()
UsernamePasswordAuthenticationOptions
instance.UsernamePasswordAuthenticationOptions
.Copyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.