public class TLSClientParametersType extends Object
Java class for TLSClientParametersType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TLSClientParametersType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="keyManagers" type="{http://cxf.apache.org/configuration/security}KeyManagersType" minOccurs="0"/> <element name="trustManagers" type="{http://cxf.apache.org/configuration/security}TrustManagersType" minOccurs="0"/> <element name="cipherSuites" type="{http://cxf.apache.org/configuration/security}CipherSuites" minOccurs="0"/> <element name="cipherSuitesFilter" type="{http://cxf.apache.org/configuration/security}FiltersType" minOccurs="0"/> <element name="secureRandomParameters" type="{http://cxf.apache.org/configuration/security}SecureRandomParameters" minOccurs="0"/> <element name="certConstraints" type="{http://cxf.apache.org/configuration/security}CertificateConstraintsType" minOccurs="0"/> <element name="certAlias" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </all> <attribute name="useHttpsURLConnectionDefaultSslSocketFactory" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" /> <attribute name="useHttpsURLConnectionDefaultHostnameVerifier" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" /> <attribute name="disableCNCheck" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" /> <attribute name="jsseProvider" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="secureSocketProtocol" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="sslCacheTimeout" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
certAlias
This element contains the Certificate Alias.
|
protected CertificateConstraintsType |
certConstraints
This element contains the Certificate Constraints specification.
|
protected CipherSuites |
cipherSuites
This element contains the the CipherSuites that will be supported.
|
protected FiltersType |
cipherSuitesFilter
This element contains the filters of the supported CipherSuites
that will be supported and used if available.
|
protected Boolean |
disableCNCheck
This attribute specifies if JSSE should omit checking if the
host name specified in the URL matches that of the Common Name
(CN) on the server's certificate.
|
protected String |
jsseProvider
This attribute contains the JSSE provider name.
|
protected KeyManagersType |
keyManagers
This element contains the KeyManagers specification.
|
protected SecureRandomParameters |
secureRandomParameters
This element contains SecureRandom specification.
|
protected String |
secureSocketProtocol
This attribute contains the Protocol Name.
|
protected Integer |
sslCacheTimeout
This attribute contains the JDK SSL session cache timeout
|
protected TrustManagersType |
trustManagers
This element contains the TrustManagers specification.
|
protected Boolean |
useHttpsURLConnectionDefaultHostnameVerifier
This attribute specifies if HttpsURLConnection.defaultHostnameVerifier
should be used to create https connections.
|
protected Boolean |
useHttpsURLConnectionDefaultSslSocketFactory
This attribute specifies if HttpsURLConnection.defaultSslSocketFactory
should be used to create https connections.
|
Constructor and Description |
---|
TLSClientParametersType() |
Modifier and Type | Method and Description |
---|---|
String |
getCertAlias()
Gets the value of the certAlias property.
|
CertificateConstraintsType |
getCertConstraints()
Gets the value of the certConstraints property.
|
CipherSuites |
getCipherSuites()
Gets the value of the cipherSuites property.
|
FiltersType |
getCipherSuitesFilter()
Gets the value of the cipherSuitesFilter property.
|
String |
getJsseProvider()
Gets the value of the jsseProvider property.
|
KeyManagersType |
getKeyManagers()
Gets the value of the keyManagers property.
|
SecureRandomParameters |
getSecureRandomParameters()
Gets the value of the secureRandomParameters property.
|
String |
getSecureSocketProtocol()
Gets the value of the secureSocketProtocol property.
|
int |
getSslCacheTimeout()
Gets the value of the sslCacheTimeout property.
|
TrustManagersType |
getTrustManagers()
Gets the value of the trustManagers property.
|
boolean |
isDisableCNCheck()
Gets the value of the disableCNCheck property.
|
boolean |
isSetCertAlias() |
boolean |
isSetCertConstraints() |
boolean |
isSetCipherSuites() |
boolean |
isSetCipherSuitesFilter() |
boolean |
isSetDisableCNCheck() |
boolean |
isSetJsseProvider() |
boolean |
isSetKeyManagers() |
boolean |
isSetSecureRandomParameters() |
boolean |
isSetSecureSocketProtocol() |
boolean |
isSetSslCacheTimeout() |
boolean |
isSetTrustManagers() |
boolean |
isSetUseHttpsURLConnectionDefaultHostnameVerifier() |
boolean |
isSetUseHttpsURLConnectionDefaultSslSocketFactory() |
boolean |
isUseHttpsURLConnectionDefaultHostnameVerifier()
Gets the value of the useHttpsURLConnectionDefaultHostnameVerifier property.
|
boolean |
isUseHttpsURLConnectionDefaultSslSocketFactory()
Gets the value of the useHttpsURLConnectionDefaultSslSocketFactory property.
|
void |
setCertAlias(String value)
Sets the value of the certAlias property.
|
void |
setCertConstraints(CertificateConstraintsType value)
Sets the value of the certConstraints property.
|
void |
setCipherSuites(CipherSuites value)
Sets the value of the cipherSuites property.
|
void |
setCipherSuitesFilter(FiltersType value)
Sets the value of the cipherSuitesFilter property.
|
void |
setDisableCNCheck(boolean value)
Sets the value of the disableCNCheck property.
|
void |
setJsseProvider(String value)
Sets the value of the jsseProvider property.
|
void |
setKeyManagers(KeyManagersType value)
Sets the value of the keyManagers property.
|
void |
setSecureRandomParameters(SecureRandomParameters value)
Sets the value of the secureRandomParameters property.
|
void |
setSecureSocketProtocol(String value)
Sets the value of the secureSocketProtocol property.
|
void |
setSslCacheTimeout(int value)
Sets the value of the sslCacheTimeout property.
|
void |
setTrustManagers(TrustManagersType value)
Sets the value of the trustManagers property.
|
void |
setUseHttpsURLConnectionDefaultHostnameVerifier(boolean value)
Sets the value of the useHttpsURLConnectionDefaultHostnameVerifier property.
|
void |
setUseHttpsURLConnectionDefaultSslSocketFactory(boolean value)
Sets the value of the useHttpsURLConnectionDefaultSslSocketFactory property.
|
void |
unsetDisableCNCheck() |
void |
unsetSslCacheTimeout() |
void |
unsetUseHttpsURLConnectionDefaultHostnameVerifier() |
void |
unsetUseHttpsURLConnectionDefaultSslSocketFactory() |
protected KeyManagersType keyManagers
protected TrustManagersType trustManagers
protected CipherSuites cipherSuites
protected FiltersType cipherSuitesFilter
protected SecureRandomParameters secureRandomParameters
protected CertificateConstraintsType certConstraints
protected String certAlias
protected Boolean useHttpsURLConnectionDefaultSslSocketFactory
protected Boolean useHttpsURLConnectionDefaultHostnameVerifier
protected Boolean disableCNCheck
protected String jsseProvider
protected String secureSocketProtocol
protected Integer sslCacheTimeout
public KeyManagersType getKeyManagers()
This element contains the KeyManagers specification.
KeyManagersType
public void setKeyManagers(KeyManagersType value)
value
- allowed object is
KeyManagersType
getKeyManagers()
public boolean isSetKeyManagers()
public TrustManagersType getTrustManagers()
This element contains the TrustManagers specification.
TrustManagersType
public void setTrustManagers(TrustManagersType value)
value
- allowed object is
TrustManagersType
getTrustManagers()
public boolean isSetTrustManagers()
public CipherSuites getCipherSuites()
This element contains the the CipherSuites that will be supported.
CipherSuites
public void setCipherSuites(CipherSuites value)
value
- allowed object is
CipherSuites
getCipherSuites()
public boolean isSetCipherSuites()
public FiltersType getCipherSuitesFilter()
This element contains the filters of the supported CipherSuites that will be supported and used if available.
FiltersType
public void setCipherSuitesFilter(FiltersType value)
value
- allowed object is
FiltersType
getCipherSuitesFilter()
public boolean isSetCipherSuitesFilter()
public SecureRandomParameters getSecureRandomParameters()
This element contains SecureRandom specification.
SecureRandomParameters
public void setSecureRandomParameters(SecureRandomParameters value)
value
- allowed object is
SecureRandomParameters
getSecureRandomParameters()
public boolean isSetSecureRandomParameters()
public CertificateConstraintsType getCertConstraints()
This element contains the Certificate Constraints specification.
CertificateConstraintsType
public void setCertConstraints(CertificateConstraintsType value)
value
- allowed object is
CertificateConstraintsType
getCertConstraints()
public boolean isSetCertConstraints()
public String getCertAlias()
This element contains the Certificate Alias.
String
public void setCertAlias(String value)
value
- allowed object is
String
getCertAlias()
public boolean isSetCertAlias()
public String getJsseProvider()
This attribute contains the JSSE provider name.
String
public void setJsseProvider(String value)
value
- allowed object is
String
getJsseProvider()
public boolean isSetJsseProvider()
public String getSecureSocketProtocol()
This attribute contains the Protocol Name. Most common example is "SSL", "TLS" or "TLSv1".
String
public void setSecureSocketProtocol(String value)
value
- allowed object is
String
getSecureSocketProtocol()
public boolean isSetSecureSocketProtocol()
public int getSslCacheTimeout()
This attribute contains the JDK SSL session cache timeout
Integer
public void setSslCacheTimeout(int value)
value
- allowed object is
Integer
getSslCacheTimeout()
public boolean isSetSslCacheTimeout()
public void unsetSslCacheTimeout()
public void setUseHttpsURLConnectionDefaultSslSocketFactory(boolean value)
public void unsetUseHttpsURLConnectionDefaultSslSocketFactory()
public boolean isSetUseHttpsURLConnectionDefaultSslSocketFactory()
public boolean isUseHttpsURLConnectionDefaultSslSocketFactory()
This attribute specifies if HttpsURLConnection.defaultSslSocketFactory should be used to create https connections. If 'true', 'jsseProvider', 'secureSocketProtocol', 'trustManagers', 'keyManagers', 'secureRandom', 'cipherSuites' and 'cipherSuitesFilter' are ignored. Since 2.2.7.
public void setUseHttpsURLConnectionDefaultHostnameVerifier(boolean value)
public void unsetUseHttpsURLConnectionDefaultHostnameVerifier()
public boolean isSetUseHttpsURLConnectionDefaultHostnameVerifier()
public boolean isUseHttpsURLConnectionDefaultHostnameVerifier()
This attribute specifies if HttpsURLConnection.defaultHostnameVerifier should be used to create https connections. If 'true', 'disableCNCheck' is ignored. Since 2.2.7.
public void setDisableCNCheck(boolean value)
isDisableCNCheck()
public void unsetDisableCNCheck()
public boolean isSetDisableCNCheck()
public boolean isDisableCNCheck()
This attribute specifies if JSSE should omit checking if the host name specified in the URL matches that of the Common Name (CN) on the server's certificate. Default is false; this attribute should not be set to true during production use.
Apache CXF