|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.configuration.jsse.TLSParameterBase org.apache.cxf.configuration.jsse.TLSClientParameters
public class TLSClientParameters
This class extends TLSParameterBase
with client-specific
SSL/TLS parameters.
Field Summary |
---|
Fields inherited from class org.apache.cxf.configuration.jsse.TLSParameterBase |
---|
certAlias, certConstraints, cipherSuiteFilters, ciphersuites, keyManagers, protocol, provider, secureRandom, trustManagers |
Constructor Summary | |
---|---|
TLSClientParameters()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
HostnameVerifier |
getHostnameVerifier()
Get custom HostnameVerifier |
int |
getSslCacheTimeout()
Returns the SSL cache timeout in seconds if it has been configured or the default value |
SSLSocketFactory |
getSSLSocketFactory()
Returns the SSLSocketFactory to be used, or null if none has been set. |
int |
hashCode()
|
boolean |
isDisableCNCheck()
Returns whether or not JSSE omits checking if the host name specified in the URL matches that of the Common Name (CN) on the server's certificate. |
boolean |
isUseHttpsURLConnectionDefaultHostnameVerifier()
Returns whether or not HttpsURLConnection.getDefaultHostnameVerifier() should be
used to create https connections. |
boolean |
isUseHttpsURLConnectionDefaultSslSocketFactory()
Returns whether or not HttpsURLConnection.getDefaultSSLSocketFactory() should be
used to create https connections. |
void |
setDisableCNCheck(boolean disableCNCheck)
Set whether or not JSEE should omit checking if the host name specified in the URL matches that of the Common Name (CN) on the server's certificate. |
void |
setHostnameVerifier(HostnameVerifier verifier)
Set custom HostnameVerifier |
void |
setSslCacheTimeout(int sslCacheTimeout)
This sets the SSL Session Cache timeout value in seconds for client sessions handled by CXF |
void |
setSSLSocketFactory(SSLSocketFactory factory)
This sets the SSLSocketFactory to use, causing all other properties of this bean (and its superclass) to get ignored (this takes precendence). |
void |
setUseHttpsURLConnectionDefaultHostnameVerifier(boolean useHttpsURLConnectionDefaultHostnameVerifier)
Sets whether or not HttpsURLConnection.getDefaultHostnameVerifier() should be
used to create https connections. |
void |
setUseHttpsURLConnectionDefaultSslSocketFactory(boolean useHttpsURLConnectionDefaultSslSocketFactory)
Sets whether or not HttpsURLConnection.getDefaultSSLSocketFactory() should be
used to create https connections. |
Methods inherited from class org.apache.cxf.configuration.jsse.TLSParameterBase |
---|
getCertAlias, getCertConstraints, getCipherSuites, getCipherSuitesFilter, getJsseProvider, getKeyManagers, getSecureRandom, getSecureSocketProtocol, getTrustManagers, setCertAlias, setCertConstraints, setCipherSuites, setCipherSuitesFilter, setJsseProvider, setKeyManagers, setSecureRandom, setSecureSocketProtocol, setTrustManagers |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLSClientParameters()
Method Detail |
---|
public void setHostnameVerifier(HostnameVerifier verifier)
verifier
- hostname verifierpublic HostnameVerifier getHostnameVerifier()
public void setDisableCNCheck(boolean disableCNCheck)
public boolean isDisableCNCheck()
public final void setSSLSocketFactory(SSLSocketFactory factory)
public final SSLSocketFactory getSSLSocketFactory()
public int getSslCacheTimeout()
public void setSslCacheTimeout(int sslCacheTimeout)
public boolean isUseHttpsURLConnectionDefaultSslSocketFactory()
HttpsURLConnection.getDefaultSSLSocketFactory()
should be
used to create https connections. If true
, TLSParameterBase.getJsseProvider()
,
TLSParameterBase.getSecureSocketProtocol()
, TLSParameterBase.getTrustManagers()
, TLSParameterBase.getKeyManagers()
,
TLSParameterBase.getSecureRandom()
, TLSParameterBase.getCipherSuites()
and TLSParameterBase.getCipherSuitesFilter()
are
ignored.
public void setUseHttpsURLConnectionDefaultSslSocketFactory(boolean useHttpsURLConnectionDefaultSslSocketFactory)
HttpsURLConnection.getDefaultSSLSocketFactory()
should be
used to create https connections.
isUseHttpsURLConnectionDefaultSslSocketFactory()
public boolean isUseHttpsURLConnectionDefaultHostnameVerifier()
HttpsURLConnection.getDefaultHostnameVerifier()
should be
used to create https connections. If true
, isDisableCNCheck()
is ignored.
public void setUseHttpsURLConnectionDefaultHostnameVerifier(boolean useHttpsURLConnectionDefaultHostnameVerifier)
HttpsURLConnection.getDefaultHostnameVerifier()
should be
used to create https connections.
isUseHttpsURLConnectionDefaultHostnameVerifier()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |