Class AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
java.lang.Object
org.springframework.vault.authentication.AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
- Enclosing class:
- AppIdAuthenticationOptions
Builder for
AppIdAuthenticationOptions
.-
Method Summary
Modifier and TypeMethodDescriptionConfigure the AppId.build()
Build a newAppIdAuthenticationOptions
instance.Configure the mount path.userIdMechanism
(AppIdUserIdMechanism userIdMechanism) Configure theAppIdUserIdMechanism
.
-
Method Details
-
path
Configure the mount path.- Parameters:
path
- must not be empty or null.- Returns:
this
AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
.- See Also:
-
appId
Configure the AppId.- Parameters:
appId
- must not be empty or null.- Returns:
this
AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
.
-
userIdMechanism
public AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder userIdMechanism(AppIdUserIdMechanism userIdMechanism) Configure theAppIdUserIdMechanism
.- Parameters:
userIdMechanism
- must not be null.- Returns:
this
AppIdAuthenticationOptions.AppIdAuthenticationOptionsBuilder
.
-
build
Build a newAppIdAuthenticationOptions
instance. RequiresuserIdMechanism(AppIdUserIdMechanism)
to be configured.- Returns:
- a new
AppIdAuthenticationOptions
.
-