public static class AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder extends Object
AppRoleAuthenticationOptions
.Modifier and Type | Method and Description |
---|---|
AppRoleAuthenticationOptions |
build()
Build a new
AppRoleAuthenticationOptions instance. |
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
path(String path)
Configure the mount path.
|
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
roleId(String roleId)
Configure the RoleId.
|
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder |
secretId(String secretId)
Configure a
secretId . |
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder path(String path)
path
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.AppRoleAuthenticationOptions.DEFAULT_APPROLE_AUTHENTICATION_PATH
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder roleId(String roleId)
roleId
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder secretId(String secretId)
secretId
.secretId
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public AppRoleAuthenticationOptions build()
AppRoleAuthenticationOptions
instance. Requires
roleId(String)
to be configured.AppRoleAuthenticationOptions
.Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.