public class HttpsConnector extends HttpConnector implements org.mule.api.security.TlsDirectKeyStore, org.mule.api.security.TlsIndirectKeyStore, org.mule.api.security.TlsDirectTrustStore
HttpsConnector provides Secure http connectivity on top of what is
already provided with the Mule HttpConnector.| Modifier and Type | Field and Description |
|---|---|
static String |
HTTPS |
static String |
LOCAL_CERTIFICATES |
static String |
PEER_CERTIFICATES |
BIND_TO_ALL_INTERFACES_IP, clientConnectionManager, COOKIE_SPEC_NETSCAPE, COOKIE_SPEC_RFC2109, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_HTTP_GET_BODY_PARAM_PROPERTY, DISABLE_STALE_CONNECTION_CHECK_SYSTEM_PROPERTY, endpointDispatchers, HTTP, HTTP_CONTEXT_PATH_PROPERTY, HTTP_CONTEXT_URI_PROPERTY, HTTP_COOKIE_SPEC_PROPERTY, HTTP_COOKIES_PROPERTY, HTTP_CUSTOM_HEADERS_MAP_PROPERTY, HTTP_DISABLE_STATUS_CODE_EXCEPTION_CHECK, HTTP_ENABLE_COOKIES_PROPERTY, HTTP_ENCODE_PARAMVALUE, HTTP_GET_BODY_PARAM_PROPERTY, HTTP_HEADERS, HTTP_INBOUND_PROPERTIES, HTTP_METHOD_PROPERTY, HTTP_PARAMS_PROPERTY, HTTP_POST_BODY_PARAM_PROPERTY, HTTP_PREFIX, HTTP_QUERY_PARAMS, HTTP_QUERY_STRING, HTTP_RELATIVE_PATH_PROPERTY, HTTP_REQUEST_PATH_PROPERTY, HTTP_REQUEST_PROPERTY, HTTP_SERVLET_REQUEST_PROPERTY, HTTP_SERVLET_RESPONSE_PROPERTY, HTTP_STATUS_PROPERTY, HTTP_VERSION_PROPERTY, ROOT_PATH, SINGLE_DISPATCHER_PER_ENDPOINT_SYSTEM_PROPERTYCLIENT, DEFAULT_BACKLOG, DEFAULT_BUFFER_SIZE, DEFAULT_SO_LINGER, DEFAULT_SOCKET_TIMEOUT, DEFAULT_WAIT_TIMEOUT, KEEP_SEND_SOCKET_OPEN_PROPERTY, SEND_TCP_NO_DELAY_SYSTEM_PROPERTY, SERVER, TCPcreateMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatcherPoolFactory, dispatchers, initialStateStopped, lifecycleManager, logger, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, PROPERTY_POLLING_FREQUENCY, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect| Constructor and Description |
|---|
HttpsConnector(org.mule.api.MuleContext context) |
applyDispatcherLifecycle, borrowDispatcher, connect, createDispatcherMessageProcessor, disconnect, doClientConnect, doDispose, doStart, doStop, findReceiverByStem, findReceiverByStemConsideringMatchingHost, getClientConnectionManager, getCookieSpec, getProxyHostname, getProxyPassword, getProxyPort, getProxyUsername, getReceiver, getReceiverKey, getReceivers, isEnableCookies, isKeepSendSocketOpen, isProxyNtlmAuthentication, lookupReceiver, lookupReceiver, lookupReceiver, normalizeUrl, registerListener, returnDispatcher, setClientConnectionManager, setCookieSpec, setEnableCookies, setKeepSendSocketOpen, setProxyHostname, setProxyNtlmAuthentication, setProxyPassword, setProxyPort, setProxyUsername, setupClientAuthorization, uriMatchesReceiverconfigureSocket, doConnect, doDisconnect, getBacklog, getBufferSize, getClientSoTimeout, getConnectionTimeout, getDispatchers, getKeepAliveMonitor, getKeepAliveTimeout, getOutputStream, getReceiveBacklog, getReceiveBufferSize, getSendBufferSize, getServerSocketFactory, getServerSoTimeout, getSocket, getSocketFactory, getSocketMaxWait, getSocketSoLinger, getSocketsPoolMaxActive, getSocketsPoolMaxIdle, getSocketsPoolMaxWait, getSocketsPoolNumActive, getTcpProtocol, isFailOnUnresolvedHost, isKeepAlive, isResponseEnabled, isReuseAddress, isSendTcpNoDelay, setBacklog, setBufferSize, setClientSoTimeout, setConnectionTimeout, setDispatcherFactory, setFailOnUnresolvedHost, setKeepAlive, setKeepAliveTimeout, setReceiveBacklog, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSendTcpNoDelay, setServerSocketFactory, setServerSoTimeout, setSocketFactory, setSocketMaxWait, setSocketSoLinger, setTcpProtocol, setTimeoutclearDispatchers, clearRequesters, configureDispatcherPool, connect, createDefaultRedeliveryPolicy, createMuleMessageFactory, createOperationResource, createReceiver, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doUnregisterListener, fireNotification, getCanonicalURI, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherPoolFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOperationResourceFactory, getOutboundExchangePatterns, getOutputStream, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, getTransactionalResource, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isConnecting, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isInitialised, isInitialStateStopped, isStarted, isStarting, isStopped, isStopping, isValidateConnections, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, setConnected, setConnecting, setCreateMultipleTransactedReceivers, setDispatcherPoolFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStartedpublic static final String HTTPS
public static final String PEER_CERTIFICATES
public static final String LOCAL_CERTIFICATES
protected ServerSocket getServerSocket(URI uri) throws IOException
getServerSocket in class HttpConnectorIOExceptionprotected void doInitialise()
throws org.mule.api.lifecycle.InitialisationException
doInitialise in class HttpConnectororg.mule.api.lifecycle.InitialisationExceptionpublic String getProtocol()
getProtocol in interface org.mule.api.transport.ConnectorgetProtocol in class HttpConnectorConnector.getProtocol()public String getClientKeyStore()
getClientKeyStore in interface org.mule.api.security.TlsIndirectKeyStorepublic String getClientKeyStorePassword()
getClientKeyStorePassword in interface org.mule.api.security.TlsIndirectKeyStorepublic String getClientKeyStoreType()
getClientKeyStoreType in interface org.mule.api.security.TlsIndirectKeyStorepublic String getKeyManagerAlgorithm()
getKeyManagerAlgorithm in interface org.mule.api.security.TlsDirectKeyStorepublic KeyManagerFactory getKeyManagerFactory()
getKeyManagerFactory in interface org.mule.api.security.TlsDirectKeyStorepublic String getKeyPassword()
getKeyPassword in interface org.mule.api.security.TlsDirectKeyStorepublic String getKeyAlias()
getKeyAlias in interface org.mule.api.security.TlsDirectKeyStorepublic String getKeyStore()
getKeyStore in interface org.mule.api.security.TlsDirectKeyStorepublic String getKeyStoreType()
getKeyStoreType in interface org.mule.api.security.TlsDirectKeyStorepublic String getSslType()
public String getKeyStorePassword()
getKeyStorePassword in interface org.mule.api.security.TlsDirectKeyStorepublic String getTrustManagerAlgorithm()
getTrustManagerAlgorithm in interface org.mule.api.security.TlsDirectTrustStorepublic TrustManagerFactory getTrustManagerFactory()
getTrustManagerFactory in interface org.mule.api.security.TlsDirectTrustStorepublic String getTrustStore()
getTrustStore in interface org.mule.api.security.TlsIndirectTrustStorepublic String getTrustStorePassword()
getTrustStorePassword in interface org.mule.api.security.TlsIndirectTrustStorepublic String getTrustStoreType()
getTrustStoreType in interface org.mule.api.security.TlsDirectTrustStorepublic boolean isExplicitTrustStoreOnly()
isExplicitTrustStoreOnly in interface org.mule.api.security.TlsDirectTrustStorepublic boolean isRequireClientAuthentication()
isRequireClientAuthentication in interface org.mule.api.security.TlsDirectTrustStorepublic void setClientKeyStore(String clientKeyStore) throws IOException
setClientKeyStore in interface org.mule.api.security.TlsIndirectKeyStoreIOExceptionpublic void setClientKeyStorePassword(String clientKeyStorePassword)
setClientKeyStorePassword in interface org.mule.api.security.TlsIndirectKeyStorepublic void setClientKeyStoreType(String clientKeyStoreType)
setClientKeyStoreType in interface org.mule.api.security.TlsIndirectKeyStorepublic void setExplicitTrustStoreOnly(boolean explicitTrustStoreOnly)
setExplicitTrustStoreOnly in interface org.mule.api.security.TlsDirectTrustStorepublic void setKeyManagerAlgorithm(String keyManagerAlgorithm)
setKeyManagerAlgorithm in interface org.mule.api.security.TlsDirectKeyStorepublic void setKeyPassword(String keyPassword)
setKeyPassword in interface org.mule.api.security.TlsDirectKeyStorepublic void setKeyAlias(String keyAlias)
setKeyAlias in interface org.mule.api.security.TlsDirectKeyStorepublic void setKeyStore(String keyStore) throws IOException
setKeyStore in interface org.mule.api.security.TlsDirectKeyStoreIOExceptionpublic void setKeyStoreType(String keystoreType)
setKeyStoreType in interface org.mule.api.security.TlsDirectKeyStorepublic void setRequireClientAuthentication(boolean requireClientAuthentication)
setRequireClientAuthentication in interface org.mule.api.security.TlsDirectTrustStorepublic void setSslType(String sslType)
public void setKeyStorePassword(String storePassword)
setKeyStorePassword in interface org.mule.api.security.TlsDirectKeyStorepublic void setTrustManagerAlgorithm(String trustManagerAlgorithm)
setTrustManagerAlgorithm in interface org.mule.api.security.TlsDirectTrustStorepublic void setTrustManagerFactory(TrustManagerFactory trustManagerFactory)
setTrustManagerFactory in interface org.mule.api.security.TlsDirectTrustStorepublic void setTrustStore(String trustStore) throws IOException
setTrustStore in interface org.mule.api.security.TlsIndirectTrustStoreIOExceptionpublic void setTrustStorePassword(String trustStorePassword)
setTrustStorePassword in interface org.mule.api.security.TlsIndirectTrustStorepublic void setTrustStoreType(String trustStoreType)
setTrustStoreType in interface org.mule.api.security.TlsDirectTrustStorepublic long getSslHandshakeTimeout()
public void setSslHandshakeTimeout(long sslHandshakeTimeout)
public SSLSocketFactory getSslSocketFactory() throws GeneralSecurityException
GeneralSecurityExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.