public class AppIdAuthentication extends Object implements ClientAuthentication
ClientAuthentication. AppIdAuthentication uses
a configured AppIdUserIdMechanism to obtain or calculate a UserId. AppId and
UserId are sent in the login request to Vault to obtain a VaultToken.AppIdAuthenticationOptions,
RestOperations,
Auth Backend: App
ID| Constructor and Description |
|---|
AppIdAuthentication(AppIdAuthenticationOptions options,
org.springframework.web.client.RestOperations restOperations)
|
| Modifier and Type | Method and Description |
|---|---|
VaultToken |
login()
Return a
VaultToken. |
public AppIdAuthentication(AppIdAuthenticationOptions options, org.springframework.web.client.RestOperations restOperations)
options - must not be null.restOperations - must not be null.public VaultToken login()
ClientAuthenticationVaultToken. This method can optionally log into Vault to obtain a
token.login in interface ClientAuthenticationVaultToken.Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.