public class OpenShiftConnectionFactory extends AbstractOpenShiftConnectionFactory
| Constructor and Description |
|---|
OpenShiftConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createCipherExclusionRegex(IOpenShiftConfiguration configuration) |
protected IHttpClient |
createClient(String clientId,
String username,
String password,
String authKey,
String authIV,
String serverUrl,
IHttpClient.ISSLCertificateCallback sslCertificateCallback,
String exludeSSLCipherRegex) |
protected IOpenShiftConfiguration |
createConfiguration() |
protected IOpenShiftConfiguration |
getConfiguration() |
IOpenShiftConnection |
getConnection(String clientId,
String password)
Establish a connection with the clientId along with user's password.
|
IOpenShiftConnection |
getConnection(String clientId,
String username,
String password)
Establish a connection with the clientId along with user's login and
password.
|
IOpenShiftConnection |
getConnection(String clientId,
String username,
String password,
String serverUrl)
Establish a connection with the clientId along with user's login and
password.
|
IOpenShiftConnection |
getConnection(String clientId,
String username,
String password,
String serverUrl,
IHttpClient.ISSLCertificateCallback sslCallback) |
protected IOpenShiftConnection |
getConnection(String clientId,
String username,
String password,
String serverUrl,
IHttpClient httpClient) |
IOpenShiftConnection |
getConnection(String clientId,
String username,
String password,
String authKey,
String authIV,
String serverUrl) |
IOpenShiftConnection |
getConnection(String clientId,
String username,
String password,
String authKey,
String authIV,
String serverUrl,
IHttpClient.ISSLCertificateCallback sslCertificateCallback) |
IOpenShiftConnection |
getConnection(String clientId,
String username,
String password,
String authKey,
String authIV,
String serverUrl,
IHttpClient.ISSLCertificateCallback sslCertificateCallback,
String exludeSSLCipherRegex)
Establish a connection with the clientId along with user's login and
password.
|
getConnectionpublic IOpenShiftConnection getConnection(String clientId, String password) throws OpenShiftException
clientId - http client idpassword - user's passwordFileNotFoundExceptionIOExceptionOpenShiftExceptionpublic IOpenShiftConnection getConnection(String clientId, String username, String password) throws OpenShiftException
clientId - http client idusername - user's loginpassword - user's passwordFileNotFoundExceptionIOExceptionOpenShiftExceptionpublic IOpenShiftConnection getConnection(String clientId, String username, String password, String serverUrl) throws OpenShiftException
clientId - http client idusername - user's login.password - user's password.serverUrl - the server url.FileNotFoundExceptionIOExceptionOpenShiftExceptionpublic IOpenShiftConnection getConnection(String clientId, String username, String password, String serverUrl, IHttpClient.ISSLCertificateCallback sslCallback) throws OpenShiftException
OpenShiftExceptionpublic IOpenShiftConnection getConnection(String clientId, String username, String password, String authKey, String authIV, String serverUrl) throws OpenShiftException
OpenShiftExceptionpublic IOpenShiftConnection getConnection(String clientId, String username, String password, String authKey, String authIV, String serverUrl, IHttpClient.ISSLCertificateCallback sslCertificateCallback) throws OpenShiftException
OpenShiftExceptionprotected String createCipherExclusionRegex(IOpenShiftConfiguration configuration)
public IOpenShiftConnection getConnection(String clientId, String username, String password, String authKey, String authIV, String serverUrl, IHttpClient.ISSLCertificateCallback sslCertificateCallback, String exludeSSLCipherRegex) throws OpenShiftException
clientId - http client idusername - user's login.password - user's password.serverUrl - the server url.FileNotFoundExceptionIOExceptionOpenShiftExceptionprotected IHttpClient createClient(String clientId, String username, String password, String authKey, String authIV, String serverUrl, IHttpClient.ISSLCertificateCallback sslCertificateCallback, String exludeSSLCipherRegex)
protected IOpenShiftConfiguration getConfiguration() throws OpenShiftException
OpenShiftExceptionprotected IOpenShiftConfiguration createConfiguration() throws OpenShiftException
OpenShiftExceptionprotected IOpenShiftConnection getConnection(String clientId, String username, String password, String serverUrl, IHttpClient httpClient) throws OpenShiftException, IOException
OpenShiftExceptionIOExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.