public abstract class TCPSSLNIOSender extends TCPNIOSender
ConfigurationElement.State
CONNECTION_EST_TIME, CONNECTION_IN_USE, RESPONSE_CORRELATION_MAP, serviceHandler, TCP_HOST_AND_PORT, TCP_REQUEST
logger, metrics, originatingTransport, properties
Constructor and Description |
---|
TCPSSLNIOSender(FileCache fileCache) |
Modifier and Type | Method and Description |
---|---|
void |
setHostnameVerifier(java.lang.String hostnameVerifier)
Select hostname verifier instance to use - default is "Default"
|
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 |
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
|
getIOEventDispatch, getProperty, getProperty, getTCPRequest, send, setOriginatingTransport, start
getDetails, getOriginatingTransport, pause, resetStatistics, resume, setProperties, stop, toBasicView, toDetailedView, toDetailedViewExt
equals, getDeploymentUnit, getDerivedName, getId, getState, getStreamCount, getTimerStreamMax, getTimerStreamMean, getTimerStreamMin, getTimerStreamPer, hashCode, init, isDebugOn, isStarted, maintenanceShutdown, markAsOutdated, resetCounter, resetTimer, resolveMetricsStreams, setBeanName, setConfig, setDebugOn, setDerivedName, setId, setMetricsEngine, setState, throwIllegalStateException, undeploy
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
retire
public TCPSSLNIOSender(FileCache fileCache)
public void setIdentityStorePath(java.lang.String identityStorePath)
identityStorePath
- identity keystore pathpublic void setIdentityStoreType(java.lang.String identityStoreType)
identityStoreType
- identity keystore typepublic void setIdentityStorePassword(java.lang.String identityStorePassword)
identityStorePassword
- identity keystore passwordpublic void setIdentityKeyPassword(java.lang.String identityKeyPassword)
identityKeyPassword
- identity key passwordpublic void setTrustStorePath(java.lang.String trustStorePath)
trustStorePath
- Trust keystore pathpublic void setTrustStoreType(java.lang.String trustStoreType)
trustStoreType
- Trust keystore typepublic void setTrustStorePassword(java.lang.String trustStorePassword)
trustStorePassword
- Trust keystore passwordpublic void setNonProductionNoRemoteCertValidation(boolean nonProductionNoRemoteCertValidation)
nonProductionNoRemoteCertValidation
- true disables remote certificate validationpublic void setHostnameVerifier(java.lang.String hostnameVerifier)
hostnameVerifier
- "Default" - The hostname must match either the first CN, or any of the subject-alts.
A wildcard can occur in the CN, and in any of the subject-alts.
"Strict" - works the same way as java.net.URL, IE6 etc. Compliant with 2818 for wildcards.
The hostname must match either the first CN, or any of the subject-alts. A wildcard can
occur in the CN, and in any of the subject-alts.
"AllowAll" - disables hostname verification
"DefaultAndLocalHost" - same as Default, but a host of "localhost", "localhost.localdomain", "127.0.0.1",
"::1" will always pass, no matter what is in the server's certificate