public class ClientCertificateAuthentication extends Object implements ClientAuthentication, AuthenticationStepsFactory
ClientAuthentication
.Constructor and Description |
---|
ClientCertificateAuthentication(RestOperations restOperations)
Create a
ClientCertificateAuthentication using RestOperations . |
Modifier and Type | Method and Description |
---|---|
static AuthenticationSteps |
createAuthenticationSteps()
Creates a
AuthenticationSteps for client certificate authentication. |
AuthenticationSteps |
getAuthenticationSteps()
Get the
AuthenticationSteps describing an authentication flow. |
VaultToken |
login()
Return a
VaultToken . |
public ClientCertificateAuthentication(RestOperations restOperations)
ClientCertificateAuthentication
using RestOperations
.restOperations
- must not be null.public static AuthenticationSteps createAuthenticationSteps()
AuthenticationSteps
for client certificate authentication.AuthenticationSteps
for client certificate authentication.public VaultToken login()
ClientAuthentication
VaultToken
. This method can optionally log into Vault to obtain a
token
.login
in interface ClientAuthentication
VaultToken
.public AuthenticationSteps getAuthenticationSteps()
AuthenticationStepsFactory
AuthenticationSteps
describing an authentication flow.getAuthenticationSteps
in interface AuthenticationStepsFactory
AuthenticationSteps
describing an authentication flow.Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.