org.mule.providers.http
Class HttpsConnector

java.lang.Object
  extended byorg.mule.providers.AbstractConnector
      extended byorg.mule.providers.tcp.TcpConnector
          extended byorg.mule.providers.http.HttpConnector
              extended byorg.mule.providers.http.HttpsConnector
All Implemented Interfaces:
org.mule.umo.lifecycle.Disposable, EventListener, ExceptionListener, org.mule.umo.lifecycle.Initialisable, org.mule.umo.security.TlsDirectKeyStore, org.mule.umo.security.TlsDirectTrustStore, org.mule.umo.security.TlsIndirectKeyStore, org.mule.umo.security.TlsIndirectTrustStore, org.mule.umo.provider.UMOConnectable, org.mule.umo.provider.UMOConnector, WorkListener

public class HttpsConnector
extends HttpConnector
implements org.mule.umo.security.TlsDirectKeyStore, org.mule.umo.security.TlsIndirectKeyStore, org.mule.umo.security.TlsDirectTrustStore

HttpsConnector provides Https connectivity


Field Summary
 
Fields inherited from class org.mule.providers.http.HttpConnector
clientConnectionManager, COOKIE_SPEC_NETSCAPE, COOKIE_SPEC_RFC2109, DEFAULT_HTTP_GET_BODY_PARAM_PROPERTY, HTTP_COOKIE_SPEC_PROPERTY, HTTP_COOKIES_PROPERTY, HTTP_CUSTOM_HEADERS_MAP_PROPERTY, HTTP_ENABLE_COOKIES_PROPERTY, HTTP_GET_BODY_PARAM_PROPERTY, HTTP_METHOD_PROPERTY, HTTP_PARAMS_PROPERTY, HTTP_POST_BODY_PARAM_PROPERTY, HTTP_REQUEST_PROPERTY, HTTP_STATUS_PROPERTY, HTTP_VERSION_PROPERTY
 
Fields inherited from class org.mule.providers.tcp.TcpConnector
DEFAULT_BACKLOG, DEFAULT_BUFFER_SIZE, DEFAULT_SOCKET_TIMEOUT, KEEP_SEND_SOCKET_OPEN_PROPERTY
 
Fields inherited from class org.mule.providers.AbstractConnector
connected, connecting, connectionStrategy, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, defaultInboundTransformer, defaultOutboundTransformer, defaultResponseTransformer, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, name, numberOfConcurrentTransactedReceivers, receivers, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect
 
Fields inherited from interface org.mule.umo.provider.UMOConnector
INT_VALUE_NOT_SET
 
Constructor Summary
HttpsConnector()
           
 
Method Summary
protected  void doInitialise()
           
 String getClientKeyStore()
           
 String getClientKeyStorePassword()
           
 String getClientKeyStoreType()
           
 String getKeyManagerAlgorithm()
           
 KeyManagerFactory getKeyManagerFactory()
           
 String getKeyPassword()
           
 String getKeyStore()
           
 String getKeystoreType()
           
 String getProtocol()
           
 String getProtocolHandler()
           
 Provider getProvider()
           
 org.mule.umo.security.provider.SecurityProviderFactory getSecurityProviderFactory()
           
protected  ServerSocket getServerSocket(URI uri)
           
 String getSslType()
           
 String getStorePassword()
           
 String getTrustManagerAlgorithm()
           
 TrustManagerFactory getTrustManagerFactory()
           
 String getTrustStore()
           
 String getTrustStorePassword()
           
 String getTrustStoreType()
           
 boolean isExplicitTrustStoreOnly()
           
 boolean isRequireClientAuthentication()
           
 void setClientKeyStore(String clientKeyStore)
           
 void setClientKeyStorePassword(String clientKeyStorePassword)
           
 void setClientKeyStoreType(String clientKeyStoreType)
           
 void setExplicitTrustStoreOnly(boolean explicitTrustStoreOnly)
           
 void setKeyManagerAlgorithm(String keyManagerAlgorithm)
           
 void setKeyPassword(String keyPassword)
           
 void setKeyStore(String keyStore)
           
 void setKeystoreType(String keystoreType)
           
 void setProtocolHandler(String protocolHandler)
           
 void setProvider(Provider provider)
           
 void setRequireClientAuthentication(boolean requireClientAuthentication)
           
 void setSecurityProviderFactory(org.mule.umo.security.provider.SecurityProviderFactory spFactory)
           
 void setSslType(String sslType)
           
 void setStorePassword(String storePassword)
           
 void setTrustManagerAlgorithm(String trustManagerAlgorithm)
           
 void setTrustManagerFactory(TrustManagerFactory trustManagerFactory)
           
 void setTrustStore(String trustStore)
           
 void setTrustStorePassword(String trustStorePassword)
           
 void setTrustStoreType(String trustStoreType)
           
 
Methods inherited from class org.mule.providers.http.HttpConnector
getClientConnectionManager, getCookieSpec, getProxyHostname, getProxyPassword, getProxyPort, getProxyUsername, getReceiverKey, getReceivers, isEnableCookies, registerListener, setClientConnectionManager, setCookieSpec, setEnableCookies, setProxyHostname, setProxyPassword, setProxyPort, setProxyUsername
 
Methods inherited from class org.mule.providers.tcp.TcpConnector
doConnect, doDisconnect, doDispose, doStart, doStop, getBacklog, getBufferSize, getOutputStream, getReceiveBacklog, getReceiveBufferSize, getReceiveTimeout, getSendBufferSize, getSendSocketLinger, getSendTimeout, getServerSocketFactory, getSocket, getSocketFactory, getTcpProtocol, getTcpProtocolClassName, isKeepAlive, isKeepSendSocketOpen, isRemoteSyncEnabled, isSendTcpNoDelay, isValidateConnections, setBacklog, setBufferSize, setKeepAlive, setKeepSendSocketOpen, setReceiveBacklog, setReceiveBufferSize, setReceiveTimeout, setSendBufferSize, setSendSocketLinger, setSendTcpNoDelay, setSendTimeout, setServerSocketFactory, setSocketFactory, setTcpProtocol, setTcpProtocolClassName, setTimeout, setValidateConnections
 
Methods inherited from class org.mule.providers.AbstractConnector
checkDisposed, connect, createReceiver, destroyReceiver, disconnect, dispatch, dispose, disposeDispatchers, disposeReceivers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformer, getDefaultOutboundTransformer, getDefaultResponseTransformer, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMessageAdapter, getName, getNumberOfConcurrentTransactedReceivers, getReceiver, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getStreamMessageAdapter, getSupportedProtocols, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isStarted, lookupReceiver, receive, receive, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, send, setConnectionStrategy, setCreateMultipleTransactedReceivers, setDefaultInboundTransformer, setDefaultOutboundTransformer, setDefaultResponseTransformer, setDispatcherFactory, setDispatcherThreadingProfile, setEnableMessageEvents, setExceptionListener, setMaxDispatchersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setServiceOverrides, setSessionHandler, setSupportedProtocols, startConnector, stopConnector, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, workAccepted, workCompleted, workRejected, workStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpsConnector

public HttpsConnector()
Method Detail

getServerSocket

protected ServerSocket getServerSocket(URI uri)
                                throws IOException
Throws:
IOException

doInitialise

protected void doInitialise()
                     throws org.mule.umo.lifecycle.InitialisationException
Overrides:
doInitialise in class HttpConnector
Throws:
org.mule.umo.lifecycle.InitialisationException

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface org.mule.umo.provider.UMOConnector
Overrides:
getProtocol in class HttpConnector
See Also:
UMOConnector.getProtocol()

getClientKeyStore

public String getClientKeyStore()
Specified by:
getClientKeyStore in interface org.mule.umo.security.TlsIndirectKeyStore

getClientKeyStorePassword

public String getClientKeyStorePassword()
Specified by:
getClientKeyStorePassword in interface org.mule.umo.security.TlsIndirectKeyStore

getClientKeyStoreType

public String getClientKeyStoreType()
Specified by:
getClientKeyStoreType in interface org.mule.umo.security.TlsIndirectKeyStore

getKeyManagerAlgorithm

public String getKeyManagerAlgorithm()
Specified by:
getKeyManagerAlgorithm in interface org.mule.umo.security.TlsDirectKeyStore

getKeyManagerFactory

public KeyManagerFactory getKeyManagerFactory()
Specified by:
getKeyManagerFactory in interface org.mule.umo.security.TlsDirectKeyStore

getKeyPassword

public String getKeyPassword()
Specified by:
getKeyPassword in interface org.mule.umo.security.TlsDirectKeyStore

getKeyStore

public String getKeyStore()
Specified by:
getKeyStore in interface org.mule.umo.security.TlsDirectKeyStore

getKeystoreType

public String getKeystoreType()
Specified by:
getKeystoreType in interface org.mule.umo.security.TlsDirectKeyStore

getProtocolHandler

public String getProtocolHandler()

getProvider

public Provider getProvider()

getSecurityProviderFactory

public org.mule.umo.security.provider.SecurityProviderFactory getSecurityProviderFactory()

getSslType

public String getSslType()

getStorePassword

public String getStorePassword()
Specified by:
getStorePassword in interface org.mule.umo.security.TlsDirectKeyStore

getTrustManagerAlgorithm

public String getTrustManagerAlgorithm()
Specified by:
getTrustManagerAlgorithm in interface org.mule.umo.security.TlsDirectTrustStore

getTrustManagerFactory

public TrustManagerFactory getTrustManagerFactory()
Specified by:
getTrustManagerFactory in interface org.mule.umo.security.TlsDirectTrustStore

getTrustStore

public String getTrustStore()
Specified by:
getTrustStore in interface org.mule.umo.security.TlsIndirectTrustStore

getTrustStorePassword

public String getTrustStorePassword()
Specified by:
getTrustStorePassword in interface org.mule.umo.security.TlsIndirectTrustStore

getTrustStoreType

public String getTrustStoreType()
Specified by:
getTrustStoreType in interface org.mule.umo.security.TlsDirectTrustStore

isExplicitTrustStoreOnly

public boolean isExplicitTrustStoreOnly()
Specified by:
isExplicitTrustStoreOnly in interface org.mule.umo.security.TlsDirectTrustStore

isRequireClientAuthentication

public boolean isRequireClientAuthentication()
Specified by:
isRequireClientAuthentication in interface org.mule.umo.security.TlsDirectTrustStore

setClientKeyStore

public void setClientKeyStore(String clientKeyStore)
                       throws IOException
Specified by:
setClientKeyStore in interface org.mule.umo.security.TlsIndirectKeyStore
Throws:
IOException

setClientKeyStorePassword

public void setClientKeyStorePassword(String clientKeyStorePassword)
Specified by:
setClientKeyStorePassword in interface org.mule.umo.security.TlsIndirectKeyStore

setClientKeyStoreType

public void setClientKeyStoreType(String clientKeyStoreType)
Specified by:
setClientKeyStoreType in interface org.mule.umo.security.TlsIndirectKeyStore

setExplicitTrustStoreOnly

public void setExplicitTrustStoreOnly(boolean explicitTrustStoreOnly)
Specified by:
setExplicitTrustStoreOnly in interface org.mule.umo.security.TlsDirectTrustStore

setKeyManagerAlgorithm

public void setKeyManagerAlgorithm(String keyManagerAlgorithm)
Specified by:
setKeyManagerAlgorithm in interface org.mule.umo.security.TlsDirectKeyStore

setKeyPassword

public void setKeyPassword(String keyPassword)
Specified by:
setKeyPassword in interface org.mule.umo.security.TlsDirectKeyStore

setKeyStore

public void setKeyStore(String keyStore)
                 throws IOException
Specified by:
setKeyStore in interface org.mule.umo.security.TlsDirectKeyStore
Throws:
IOException

setKeystoreType

public void setKeystoreType(String keystoreType)
Specified by:
setKeystoreType in interface org.mule.umo.security.TlsDirectKeyStore

setProtocolHandler

public void setProtocolHandler(String protocolHandler)

setProvider

public void setProvider(Provider provider)

setRequireClientAuthentication

public void setRequireClientAuthentication(boolean requireClientAuthentication)
Specified by:
setRequireClientAuthentication in interface org.mule.umo.security.TlsDirectTrustStore

setSecurityProviderFactory

public void setSecurityProviderFactory(org.mule.umo.security.provider.SecurityProviderFactory spFactory)

setSslType

public void setSslType(String sslType)

setStorePassword

public void setStorePassword(String storePassword)
Specified by:
setStorePassword in interface org.mule.umo.security.TlsDirectKeyStore

setTrustManagerAlgorithm

public void setTrustManagerAlgorithm(String trustManagerAlgorithm)
Specified by:
setTrustManagerAlgorithm in interface org.mule.umo.security.TlsDirectTrustStore

setTrustManagerFactory

public void setTrustManagerFactory(TrustManagerFactory trustManagerFactory)
Specified by:
setTrustManagerFactory in interface org.mule.umo.security.TlsDirectTrustStore

setTrustStore

public void setTrustStore(String trustStore)
                   throws IOException
Specified by:
setTrustStore in interface org.mule.umo.security.TlsIndirectTrustStore
Throws:
IOException

setTrustStorePassword

public void setTrustStorePassword(String trustStorePassword)
Specified by:
setTrustStorePassword in interface org.mule.umo.security.TlsIndirectTrustStore

setTrustStoreType

public void setTrustStoreType(String trustStoreType)
Specified by:
setTrustStoreType in interface org.mule.umo.security.TlsDirectTrustStore


Copyright © 2003-2007 MuleSource, Inc.. All Rights Reserved.