AdroitLogic UltraESB v1.7.0

org.adroitlogic.ultraesb.transport.http
Class HttpsNIOListener

java.lang.Object
  extended by org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
      extended by org.adroitlogic.ultraesb.transport.base.AbstractTransportListener
          extended by org.adroitlogic.ultraesb.transport.http.HttpNIOListener
              extended by org.adroitlogic.ultraesb.transport.http.HttpsNIOListener
All Implemented Interfaces:
ConfigurationElement, org.adroitlogic.ultraesb.transport.base.ManagementSupport, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware

public class HttpsNIOListener
extends HttpNIOListener

HTTPS transport listener

Sets the following message properties in addition to setting the request URI as the destination


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.adroitlogic.ultraesb.api.ConfigurationElement
ConfigurationElement.State
 
Field Summary
 
Fields inherited from class org.adroitlogic.ultraesb.transport.base.AbstractTransportListener
metrics, properties, transportName
 
Fields inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
config, ctx, debugOn, derivedName, id, outdated, state
 
Constructor Summary
HttpsNIOListener(FileCache fileCache)
          Default constructor accepting the FileCache to use
 
Method Summary
 void setIdentityKeyPassword(java.lang.String identityKeyPassword)
          Identity key password
 void setIdentityStorePassword(java.lang.String identityStorePassword)
          Identity keystore password
 void setIdentityStorePath(java.lang.String identityStorePath)
          Identity keystore path
 void setIdentityStoreType(java.lang.String identityStoreType)
          Identity keystore type
 void setNonProductionNoRemoteCertValidation(boolean nonProductionNoRemoteCertValidation)
          Turn off remote certificate validation - NOT for production use.
 void setSslVerifyClient(java.lang.String sslVerifyClient)
          Control use of 2-way SSL
 void setTrustStorePassword(java.lang.String trustStorePassword)
          Trust keystore password
 void setTrustStorePath(java.lang.String trustStorePath)
          Trust keystore path
 void setTrustStoreType(java.lang.String trustStoreType)
          Trust keystore type
 
Methods inherited from class org.adroitlogic.ultraesb.transport.http.HttpNIOListener
setBindAddress, setCompressionMinSize, setConnectionDebugHeaders, setContinueOnCheckedExceptions, setContinueOnRuntimeExceptions, setDefaultContextPath, setEnableConnectionDebug, setMaxPayloadSize, setNoCompression, setPort, setReplaceOriginServer, setRequestFilters, setResumeNewConnectionsAt, setStopNewConnectionsAt, setZeroCopyEnabled, toDetailedViewExt
 
Methods inherited from class org.adroitlogic.ultraesb.transport.base.AbstractTransportListener
getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getDetails, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getReceiveErrorCodeTable, getSendErrorCodeTable, getTimeoutsReceiving, getTimeoutsSending, init, resetStatistics, setProperties, toBasicView, toDetailedView
 
Methods inherited from class org.adroitlogic.ultraesb.core.config.AbstractConfigurationElement
equals, getAppCtx, getDerivedName, getId, getState, hashCode, isDebugOn, isStarted, maintenanceShutdown, markAsOutdated, pause, resume, setApplicationContext, setBeanName, setConfig, setDebugOn, setDerivedName, setId, setState, start, stop, throwIllegalStateException, undeploy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.adroitlogic.ultraesb.transport.base.ManagementSupport
getAvgSizeReceived, getAvgSizeSent, getBytesReceived, getBytesSent, getFaultsReceiving, getFaultsSending, getLastResetTime, getMaxSizeReceived, getMaxSizeSent, getMessagesReceived, getMessagesSent, getMetricsWindow, getMinSizeReceived, getMinSizeSent, getReceiveErrorCodeTable, getSendErrorCodeTable, getTimeoutsReceiving, getTimeoutsSending, maintenanceShutdown, pause, resetStatistics, resume
 

Constructor Detail

HttpsNIOListener

public HttpsNIOListener(FileCache fileCache)
Default constructor accepting the FileCache to use

Parameters:
fileCache - the file cache to use
Method Detail

setSslVerifyClient

public void setSslVerifyClient(java.lang.String sslVerifyClient)
Control use of 2-way SSL

Parameters:
sslVerifyClient - "optional", "require" or "none" (default)

setIdentityStorePath

public void setIdentityStorePath(java.lang.String identityStorePath)
Identity keystore path

Parameters:
identityStorePath - identity keystore path

setIdentityStoreType

public void setIdentityStoreType(java.lang.String identityStoreType)
Identity keystore type

Parameters:
identityStoreType - identity keystore type

setIdentityStorePassword

public void setIdentityStorePassword(java.lang.String identityStorePassword)
Identity keystore password

Parameters:
identityStorePassword - identity keystore password

setIdentityKeyPassword

public void setIdentityKeyPassword(java.lang.String identityKeyPassword)
Identity key password

Parameters:
identityKeyPassword - identity key password

setTrustStorePath

public void setTrustStorePath(java.lang.String trustStorePath)
Trust keystore path

Parameters:
trustStorePath - Trust keystore path

setTrustStoreType

public void setTrustStoreType(java.lang.String trustStoreType)
Trust keystore type

Parameters:
trustStoreType - Trust keystore type

setTrustStorePassword

public void setTrustStorePassword(java.lang.String trustStorePassword)
Trust keystore password

Parameters:
trustStorePassword - Trust keystore password

setNonProductionNoRemoteCertValidation

public void setNonProductionNoRemoteCertValidation(boolean nonProductionNoRemoteCertValidation)
Turn off remote certificate validation - NOT for production use. This helps conduct testing with expired or self signed certificates etc

Parameters:
nonProductionNoRemoteCertValidation - true disables remote certificate validation

Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved.