org.mule.providers.ssl
Class SslConnector
java.lang.Object
org.mule.providers.AbstractConnector
org.mule.providers.tcp.TcpConnector
org.mule.providers.ssl.SslConnector
- All Implemented Interfaces:
- Disposable, EventListener, ExceptionListener, Initialisable, TlsDirectKeyStore, TlsDirectTrustStore, TlsIndirectKeyStore, TlsIndirectTrustStore, UMOConnectable, UMOConnector, WorkListener
- Direct Known Subclasses:
- TlsConnector
- public class SslConnector
- extends TcpConnector
- implements TlsDirectKeyStore, TlsIndirectKeyStore, TlsDirectTrustStore
SslConnector provides a connector for SSL connections.
Note that the *only* function of the code in this package is to configure and
provide SSL enabled sockets. All other logic is identical to TCP.
| 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 |
| 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, isReuseAddress, isSendTcpNoDelay, isValidateConnections, setBacklog, setBufferSize, setKeepAlive, setKeepSendSocketOpen, setReceiveBacklog, setReceiveBufferSize, setReceiveTimeout, setReuseAddress, 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, disposeWorkManagers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformer, getDefaultOutboundTransformer, getDefaultResponseTransformer, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMessageAdapter, getName, getNumberOfConcurrentTransactedReceivers, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getStreamMessageAdapter, getSupportedProtocols, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isStarted, lookupReceiver, receive, receive, registerListener, 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 |
PEER_CERTIFICATES
public static final String PEER_CERTIFICATES
- See Also:
- Constant Field Values
LOCAL_CERTIFICATES
public static final String LOCAL_CERTIFICATES
- See Also:
- Constant Field Values
SslConnector
public SslConnector()
doInitialise
protected void doInitialise()
throws InitialisationException
- Throws:
InitialisationException
getServerSocket
protected ServerSocket getServerSocket(URI uri)
throws IOException
- Throws:
IOException
getProtocol
public String getProtocol()
- Specified by:
getProtocol in interface UMOConnector
getClientKeyStore
public String getClientKeyStore()
- Specified by:
getClientKeyStore in interface TlsIndirectKeyStore
getClientKeyStorePassword
public String getClientKeyStorePassword()
- Specified by:
getClientKeyStorePassword in interface TlsIndirectKeyStore
getClientKeyStoreType
public String getClientKeyStoreType()
- Specified by:
getClientKeyStoreType in interface TlsIndirectKeyStore
getKeyManagerAlgorithm
public String getKeyManagerAlgorithm()
- Specified by:
getKeyManagerAlgorithm in interface TlsDirectKeyStore
getKeyManagerFactory
public KeyManagerFactory getKeyManagerFactory()
- Specified by:
getKeyManagerFactory in interface TlsDirectKeyStore
getKeyPassword
public String getKeyPassword()
- Specified by:
getKeyPassword in interface TlsDirectKeyStore
getKeyStore
public String getKeyStore()
- Specified by:
getKeyStore in interface TlsDirectKeyStore
getKeystoreType
public String getKeystoreType()
- Specified by:
getKeystoreType in interface TlsDirectKeyStore
getProtocolHandler
public String getProtocolHandler()
getProvider
public Provider getProvider()
getSecurityProviderFactory
public SecurityProviderFactory getSecurityProviderFactory()
getSslType
public String getSslType()
getStorePassword
public String getStorePassword()
- Specified by:
getStorePassword in interface TlsDirectKeyStore
getTrustManagerAlgorithm
public String getTrustManagerAlgorithm()
- Specified by:
getTrustManagerAlgorithm in interface TlsDirectTrustStore
getTrustManagerFactory
public TrustManagerFactory getTrustManagerFactory()
- Specified by:
getTrustManagerFactory in interface TlsDirectTrustStore
getTrustStore
public String getTrustStore()
- Specified by:
getTrustStore in interface TlsIndirectTrustStore
getTrustStorePassword
public String getTrustStorePassword()
- Specified by:
getTrustStorePassword in interface TlsIndirectTrustStore
getTrustStoreType
public String getTrustStoreType()
- Specified by:
getTrustStoreType in interface TlsDirectTrustStore
isExplicitTrustStoreOnly
public boolean isExplicitTrustStoreOnly()
- Specified by:
isExplicitTrustStoreOnly in interface TlsDirectTrustStore
isRequireClientAuthentication
public boolean isRequireClientAuthentication()
- Specified by:
isRequireClientAuthentication in interface TlsDirectTrustStore
setClientKeyStore
public void setClientKeyStore(String clientKeyStore)
throws IOException
- Specified by:
setClientKeyStore in interface TlsIndirectKeyStore
- Throws:
IOException
setClientKeyStorePassword
public void setClientKeyStorePassword(String clientKeyStorePassword)
- Specified by:
setClientKeyStorePassword in interface TlsIndirectKeyStore
setClientKeyStoreType
public void setClientKeyStoreType(String clientKeyStoreType)
- Specified by:
setClientKeyStoreType in interface TlsIndirectKeyStore
setExplicitTrustStoreOnly
public void setExplicitTrustStoreOnly(boolean explicitTrustStoreOnly)
- Specified by:
setExplicitTrustStoreOnly in interface TlsDirectTrustStore
setKeyManagerAlgorithm
public void setKeyManagerAlgorithm(String keyManagerAlgorithm)
- Specified by:
setKeyManagerAlgorithm in interface TlsDirectKeyStore
setKeyPassword
public void setKeyPassword(String keyPassword)
- Specified by:
setKeyPassword in interface TlsDirectKeyStore
setKeyStore
public void setKeyStore(String keyStore)
throws IOException
- Specified by:
setKeyStore in interface TlsDirectKeyStore
- Throws:
IOException
setKeystoreType
public void setKeystoreType(String keystoreType)
- Specified by:
setKeystoreType in interface TlsDirectKeyStore
setProtocolHandler
public void setProtocolHandler(String protocolHandler)
setProvider
public void setProvider(Provider provider)
setRequireClientAuthentication
public void setRequireClientAuthentication(boolean requireClientAuthentication)
- Specified by:
setRequireClientAuthentication in interface TlsDirectTrustStore
setSecurityProviderFactory
public void setSecurityProviderFactory(SecurityProviderFactory spFactory)
setSslType
public void setSslType(String sslType)
setStorePassword
public void setStorePassword(String storePassword)
- Specified by:
setStorePassword in interface TlsDirectKeyStore
setTrustManagerAlgorithm
public void setTrustManagerAlgorithm(String trustManagerAlgorithm)
- Specified by:
setTrustManagerAlgorithm in interface TlsDirectTrustStore
setTrustManagerFactory
public void setTrustManagerFactory(TrustManagerFactory trustManagerFactory)
- Specified by:
setTrustManagerFactory in interface TlsDirectTrustStore
setTrustStore
public void setTrustStore(String trustStore)
throws IOException
- Specified by:
setTrustStore in interface TlsIndirectTrustStore
- Throws:
IOException
setTrustStorePassword
public void setTrustStorePassword(String trustStorePassword)
- Specified by:
setTrustStorePassword in interface TlsIndirectTrustStore
setTrustStoreType
public void setTrustStoreType(String trustStoreType)
- Specified by:
setTrustStoreType in interface TlsDirectTrustStore
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.