Class TLSClientParametersType
- Direct Known Subclasses:
TLSClientParametersConfig.TLSClientParametersTypeInternal
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="enableRevocation" 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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThis element contains the Certificate Alias.protected CertificateConstraintsTypeThis element contains the Certificate Constraints specification.protected CipherSuitesThis element contains the the CipherSuites that will be supported.protected FiltersTypeThis element contains the filters of the supported CipherSuites that will be supported and used if available.protected BooleanThis 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 BooleanThis attribute specifies whether to enable revocation when checking the server certificate.protected StringThis attribute contains the JSSE provider name.protected KeyManagersTypeThis element contains the KeyManagers specification.protected SecureRandomParametersThis element contains SecureRandom specification.protected StringThis attribute contains the Protocol Name.protected IntegerThis attribute contains the JDK SSL session cache timeoutprotected TrustManagersTypeThis element contains the TrustManagers specification.protected BooleanThis attribute specifies if HttpsURLConnection.defaultHostnameVerifier should be used to create https connections.protected BooleanThis attribute specifies if HttpsURLConnection.defaultSslSocketFactory should be used to create https connections. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the certAlias property.Gets the value of the certConstraints property.Gets the value of the cipherSuites property.Gets the value of the cipherSuitesFilter property.Gets the value of the jsseProvider property.Gets the value of the keyManagers property.Gets the value of the secureRandomParameters property.Gets the value of the secureSocketProtocol property.intGets the value of the sslCacheTimeout property.Gets the value of the trustManagers property.booleanGets the value of the disableCNCheck property.booleanGets the value of the enableRevocation property.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanGets the value of the useHttpsURLConnectionDefaultHostnameVerifier property.booleanGets the value of the useHttpsURLConnectionDefaultSslSocketFactory property.voidsetCertAlias(String value) Sets the value of the certAlias property.voidSets the value of the certConstraints property.voidsetCipherSuites(CipherSuites value) Sets the value of the cipherSuites property.voidsetCipherSuitesFilter(FiltersType value) Sets the value of the cipherSuitesFilter property.voidsetDisableCNCheck(boolean value) Sets the value of the disableCNCheck property.voidsetEnableRevocation(boolean value) Sets the value of the enableRevocation property.voidsetJsseProvider(String value) Sets the value of the jsseProvider property.voidsetKeyManagers(KeyManagersType value) Sets the value of the keyManagers property.voidSets the value of the secureRandomParameters property.voidsetSecureSocketProtocol(String value) Sets the value of the secureSocketProtocol property.voidsetSslCacheTimeout(int value) Sets the value of the sslCacheTimeout property.voidSets the value of the trustManagers property.voidsetUseHttpsURLConnectionDefaultHostnameVerifier(boolean value) Sets the value of the useHttpsURLConnectionDefaultHostnameVerifier property.voidsetUseHttpsURLConnectionDefaultSslSocketFactory(boolean value) Sets the value of the useHttpsURLConnectionDefaultSslSocketFactory property.voidvoidvoidvoidvoid
-
Field Details
-
keyManagers
This element contains the KeyManagers specification. -
trustManagers
This element contains the TrustManagers specification. -
cipherSuites
This element contains the the CipherSuites that will be supported. -
cipherSuitesFilter
This element contains the filters of the supported CipherSuites that will be supported and used if available. -
secureRandomParameters
This element contains SecureRandom specification. -
certConstraints
This element contains the Certificate Constraints specification. -
certAlias
This element contains the Certificate Alias. -
useHttpsURLConnectionDefaultSslSocketFactory
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. -
useHttpsURLConnectionDefaultHostnameVerifier
This attribute specifies if HttpsURLConnection.defaultHostnameVerifier should be used to create https connections. If 'true', 'disableCNCheck' is ignored. Since 2.2.7. -
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. Default is false; this attribute should not be set to true during production use. -
enableRevocation
This attribute specifies whether to enable revocation when checking the server certificate. The default is false. -
jsseProvider
This attribute contains the JSSE provider name. -
secureSocketProtocol
This attribute contains the Protocol Name. Most common example is "SSL", "TLS" or "TLSv1". -
sslCacheTimeout
This attribute contains the JDK SSL session cache timeout
-
-
Constructor Details
-
TLSClientParametersType
public TLSClientParametersType()
-
-
Method Details
-
getKeyManagers
Gets the value of the keyManagers property.This element contains the KeyManagers specification.
- Returns:
- possible object is
KeyManagersType
-
setKeyManagers
Sets the value of the keyManagers property.- Parameters:
value- allowed object isKeyManagersType- See Also:
-
isSetKeyManagers
public boolean isSetKeyManagers() -
getTrustManagers
Gets the value of the trustManagers property.This element contains the TrustManagers specification.
- Returns:
- possible object is
TrustManagersType
-
setTrustManagers
Sets the value of the trustManagers property.- Parameters:
value- allowed object isTrustManagersType- See Also:
-
isSetTrustManagers
public boolean isSetTrustManagers() -
getCipherSuites
Gets the value of the cipherSuites property.This element contains the the CipherSuites that will be supported.
- Returns:
- possible object is
CipherSuites
-
setCipherSuites
Sets the value of the cipherSuites property.- Parameters:
value- allowed object isCipherSuites- See Also:
-
isSetCipherSuites
public boolean isSetCipherSuites() -
getCipherSuitesFilter
Gets the value of the cipherSuitesFilter property.This element contains the filters of the supported CipherSuites that will be supported and used if available.
- Returns:
- possible object is
FiltersType
-
setCipherSuitesFilter
Sets the value of the cipherSuitesFilter property.- Parameters:
value- allowed object isFiltersType- See Also:
-
isSetCipherSuitesFilter
public boolean isSetCipherSuitesFilter() -
getSecureRandomParameters
Gets the value of the secureRandomParameters property.This element contains SecureRandom specification.
- Returns:
- possible object is
SecureRandomParameters
-
setSecureRandomParameters
Sets the value of the secureRandomParameters property.- Parameters:
value- allowed object isSecureRandomParameters- See Also:
-
isSetSecureRandomParameters
public boolean isSetSecureRandomParameters() -
getCertConstraints
Gets the value of the certConstraints property.This element contains the Certificate Constraints specification.
- Returns:
- possible object is
CertificateConstraintsType
-
setCertConstraints
Sets the value of the certConstraints property.- Parameters:
value- allowed object isCertificateConstraintsType- See Also:
-
isSetCertConstraints
public boolean isSetCertConstraints() -
getCertAlias
Gets the value of the certAlias property.This element contains the Certificate Alias.
- Returns:
- possible object is
String
-
setCertAlias
Sets the value of the certAlias property.- Parameters:
value- allowed object isString- See Also:
-
isSetCertAlias
public boolean isSetCertAlias() -
getJsseProvider
Gets the value of the jsseProvider property.This attribute contains the JSSE provider name.
- Returns:
- possible object is
String
-
setJsseProvider
Sets the value of the jsseProvider property.- Parameters:
value- allowed object isString- See Also:
-
isSetJsseProvider
public boolean isSetJsseProvider() -
getSecureSocketProtocol
Gets the value of the secureSocketProtocol property.This attribute contains the Protocol Name. Most common example is "SSL", "TLS" or "TLSv1".
- Returns:
- possible object is
String
-
setSecureSocketProtocol
Sets the value of the secureSocketProtocol property.- Parameters:
value- allowed object isString- See Also:
-
isSetSecureSocketProtocol
public boolean isSetSecureSocketProtocol() -
getSslCacheTimeout
public int getSslCacheTimeout()Gets the value of the sslCacheTimeout property.This attribute contains the JDK SSL session cache timeout
- Returns:
- possible object is
Integer
-
setSslCacheTimeout
public void setSslCacheTimeout(int value) Sets the value of the sslCacheTimeout property.- Parameters:
value- allowed object isInteger- See Also:
-
isSetSslCacheTimeout
public boolean isSetSslCacheTimeout() -
unsetSslCacheTimeout
public void unsetSslCacheTimeout() -
setUseHttpsURLConnectionDefaultSslSocketFactory
public void setUseHttpsURLConnectionDefaultSslSocketFactory(boolean value) Sets the value of the useHttpsURLConnectionDefaultSslSocketFactory property. -
unsetUseHttpsURLConnectionDefaultSslSocketFactory
public void unsetUseHttpsURLConnectionDefaultSslSocketFactory() -
isSetUseHttpsURLConnectionDefaultSslSocketFactory
public boolean isSetUseHttpsURLConnectionDefaultSslSocketFactory() -
isUseHttpsURLConnectionDefaultSslSocketFactory
public boolean isUseHttpsURLConnectionDefaultSslSocketFactory()Gets the value of the useHttpsURLConnectionDefaultSslSocketFactory property.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.
-
setUseHttpsURLConnectionDefaultHostnameVerifier
public void setUseHttpsURLConnectionDefaultHostnameVerifier(boolean value) Sets the value of the useHttpsURLConnectionDefaultHostnameVerifier property. -
unsetUseHttpsURLConnectionDefaultHostnameVerifier
public void unsetUseHttpsURLConnectionDefaultHostnameVerifier() -
isSetUseHttpsURLConnectionDefaultHostnameVerifier
public boolean isSetUseHttpsURLConnectionDefaultHostnameVerifier() -
isUseHttpsURLConnectionDefaultHostnameVerifier
public boolean isUseHttpsURLConnectionDefaultHostnameVerifier()Gets the value of the useHttpsURLConnectionDefaultHostnameVerifier property.This attribute specifies if HttpsURLConnection.defaultHostnameVerifier should be used to create https connections. If 'true', 'disableCNCheck' is ignored. Since 2.2.7.
-
setDisableCNCheck
public void setDisableCNCheck(boolean value) Sets the value of the disableCNCheck property.- See Also:
-
unsetDisableCNCheck
public void unsetDisableCNCheck() -
isSetDisableCNCheck
public boolean isSetDisableCNCheck() -
isDisableCNCheck
public boolean isDisableCNCheck()Gets the value of the disableCNCheck property.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.
-
setEnableRevocation
public void setEnableRevocation(boolean value) Sets the value of the enableRevocation property.- See Also:
-
unsetEnableRevocation
public void unsetEnableRevocation() -
isSetEnableRevocation
public boolean isSetEnableRevocation() -
isEnableRevocation
public boolean isEnableRevocation()Gets the value of the enableRevocation property.This attribute specifies whether to enable revocation when checking the server certificate. The default is false.
-