org.javaswift.joss.client.impl
Class ClientImpl

java.lang.Object
  extended by org.javaswift.joss.client.core.AbstractClient<AccountImpl>
      extended by org.javaswift.joss.client.impl.ClientImpl
All Implemented Interfaces:
Client<AccountImpl>

public class ClientImpl
extends AbstractClient<AccountImpl>


Field Summary
static TrustManager[] gullibleManagers
           
static org.slf4j.Logger LOG
           
 
Fields inherited from class org.javaswift.joss.client.core.AbstractClient
accountConfig, factory
 
Constructor Summary
ClientImpl(AccountConfig accountConfig)
           
 
Method Summary
protected  AccountImpl createAccount()
           
protected  AuthenticationCommandFactory createFactory()
           
static SSLContext createGullibleSslContext()
           
protected  void disableSslValidation(org.apache.http.impl.conn.PoolingClientConnectionManager connectionManager)
           
protected  org.apache.http.impl.conn.PoolingClientConnectionManager initConnectionManager()
           
protected  void logSettings()
           
 ClientImpl setHttpClient(org.apache.http.client.HttpClient httpClient)
           
 
Methods inherited from class org.javaswift.joss.client.core.AbstractClient
authenticate, autoDiscoverTenant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG

gullibleManagers

public static TrustManager[] gullibleManagers
Constructor Detail

ClientImpl

public ClientImpl(AccountConfig accountConfig)
Method Detail

initConnectionManager

protected org.apache.http.impl.conn.PoolingClientConnectionManager initConnectionManager()

disableSslValidation

protected void disableSslValidation(org.apache.http.impl.conn.PoolingClientConnectionManager connectionManager)

logSettings

protected void logSettings()
Specified by:
logSettings in class AbstractClient<AccountImpl>

createFactory

protected AuthenticationCommandFactory createFactory()
Specified by:
createFactory in class AbstractClient<AccountImpl>

createAccount

protected AccountImpl createAccount()
Specified by:
createAccount in class AbstractClient<AccountImpl>

setHttpClient

public ClientImpl setHttpClient(org.apache.http.client.HttpClient httpClient)

createGullibleSslContext

public static SSLContext createGullibleSslContext()
                                           throws GeneralSecurityException
Throws:
GeneralSecurityException


Copyright © 2012-2014 42 BV. All Rights Reserved.