public class AnkaMgmtClientCertAuthCommunicator extends AnkaMgmtCommunicator
AnkaMgmtCommunicator.RequestMethod
Modifier and Type | Field and Description |
---|---|
protected ClientCertAuthenticator |
authenticator |
connectionKeepAliveSeconds, httpClient, maxConnections, maxRetries, mgmtUrl, rootCA, roundRobin, skipTLSVerification, timeout
Constructor and Description |
---|
AnkaMgmtClientCertAuthCommunicator(List<String> mgmtURLS,
boolean skipTLSVerification,
String client,
String key,
String rootCA) |
AnkaMgmtClientCertAuthCommunicator(String mgmtUrl,
boolean skipTLSVerification,
String client,
String key,
String rootCA) |
Modifier and Type | Method and Description |
---|---|
protected KeyStore |
getKeyStore() |
protected SSLContext |
getSSLContext(KeyStore keystore) |
addHeaders, doRequest, doRequest, getConnectionKeepAliveSeconds, getHttpClient, getImageRequests, getMaxConections, getNodeGroups, getNodes, getSaveImageStatus, getTemplateTags, getTrustStrategy, list, listTemplates, makeHttpClient, makeRequestConfig, revertRegistryVM, saveImage, setBody, setConnectionKeepAliveSeconds, setMaxConections, showVm, startVm, status, terminateVm, updateVM
protected ClientCertAuthenticator authenticator
public AnkaMgmtClientCertAuthCommunicator(String mgmtUrl, boolean skipTLSVerification, String client, String key, String rootCA)
protected KeyStore getKeyStore() throws CertificateException, NoSuchAlgorithmException, KeyStoreException, IOException
getKeyStore
in class AnkaMgmtCommunicator
CertificateException
NoSuchAlgorithmException
KeyStoreException
IOException
protected SSLContext getSSLContext(KeyStore keystore) throws KeyStoreException, NoSuchAlgorithmException, KeyManagementException, UnrecoverableKeyException
getSSLContext
in class AnkaMgmtCommunicator
KeyStoreException
NoSuchAlgorithmException
KeyManagementException
UnrecoverableKeyException
Copyright © 2016–2020. All rights reserved.