public class AutoAuthComputeCloudClient extends ProxyComputeCloudClient
client| Constructor and Description |
|---|
AutoAuthComputeCloudClient(ComputeCloudClient client) |
AutoAuthComputeCloudClient(ComputeCloudClient client,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate()
Authenticates the client and stores an authentication token to allow
other methods to be called.
|
void |
close()
Closes the client connection.
|
protected void |
preInvoke() |
createInstanceOrchestration, deleteOrchestration, getImageListEntries, getImageLists, getInstanceOrchestration, getSecurityLists, getShapes, getSSHKey, getSSHKeys, startOrchestration, stopOrchestration, toStringpublic AutoAuthComputeCloudClient(ComputeCloudClient client)
public AutoAuthComputeCloudClient(ComputeCloudClient client, Clock clock)
public void close()
ComputeCloudClientclose in interface ComputeCloudClientclose in interface AutoCloseableclose in class ProxyComputeCloudClientpublic void authenticate()
throws ComputeCloudClientException
authenticate in interface ComputeCloudClientauthenticate in class ProxyComputeCloudClientComputeCloudClientUnauthorizedException - if authentication failedComputeCloudClientException - if an error occurs communicating with
the endpoint serverprotected void preInvoke()
throws ComputeCloudClientException
preInvoke in class ProxyComputeCloudClientComputeCloudClientExceptionCopyright © 2016–2018. All rights reserved.