All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cxf.configuration.security.TLSClientParametersType Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.09.29 at 03:35:22 PM EDT 
//


package org.apache.cxf.configuration.security;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TLSClientParametersType", namespace = "http://cxf.apache.org/configuration/security", propOrder = { }) public class TLSClientParametersType { /** * This element contains the KeyManagers specification. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected KeyManagersType keyManagers; /** * This element contains the TrustManagers specification. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected TrustManagersType trustManagers; /** * This element contains the the CipherSuites that will be supported. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected CipherSuites cipherSuites; /** * This element contains the filters of the supported CipherSuites * that will be supported and used if available. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected FiltersType cipherSuitesFilter; /** * This element contains SecureRandom specification. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected SecureRandomParameters secureRandomParameters; /** * This element contains the Certificate Constraints specification. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected CertificateConstraintsType certConstraints; /** * This element contains the Certificate Alias. * */ @XmlElement(namespace = "http://cxf.apache.org/configuration/security") protected String certAlias; /** * 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. * */ @XmlAttribute(name = "useHttpsURLConnectionDefaultSslSocketFactory") protected Boolean useHttpsURLConnectionDefaultSslSocketFactory; /** * This attribute specifies if HttpsURLConnection.defaultHostnameVerifier * should be used to create https connections. If 'true', 'disableCNCheck' * is ignored. * Since 2.2.7. * */ @XmlAttribute(name = "useHttpsURLConnectionDefaultHostnameVerifier") protected Boolean useHttpsURLConnectionDefaultHostnameVerifier; /** * 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. * */ @XmlAttribute(name = "disableCNCheck") protected Boolean disableCNCheck; /** * This attribute specifies whether to enable revocation when checking the server certificate. * The default is false. * */ @XmlAttribute(name = "enableRevocation") protected Boolean enableRevocation; /** * This attribute contains the JSSE provider name. * */ @XmlAttribute(name = "jsseProvider") protected String jsseProvider; /** * This attribute contains the Protocol Name. Most common * example is "SSL", "TLS" or "TLSv1". * */ @XmlAttribute(name = "secureSocketProtocol") protected String secureSocketProtocol; /** * This attribute contains the JDK SSL session cache timeout * */ @XmlAttribute(name = "sslCacheTimeout") protected Integer sslCacheTimeout; /** * Gets the value of the keyManagers property. *

* This element contains the KeyManagers specification. * * @return * possible object is * {@link KeyManagersType } * */ public KeyManagersType getKeyManagers() { return keyManagers; } /** * Sets the value of the keyManagers property. * * @param value * allowed object is * {@link KeyManagersType } * * @see #getKeyManagers() */ public void setKeyManagers(KeyManagersType value) { this.keyManagers = value; } public boolean isSetKeyManagers() { return (this.keyManagers!= null); } /** * Gets the value of the trustManagers property. *

* This element contains the TrustManagers specification. * * @return * possible object is * {@link TrustManagersType } * */ public TrustManagersType getTrustManagers() { return trustManagers; } /** * Sets the value of the trustManagers property. * * @param value * allowed object is * {@link TrustManagersType } * * @see #getTrustManagers() */ public void setTrustManagers(TrustManagersType value) { this.trustManagers = value; } public boolean isSetTrustManagers() { return (this.trustManagers!= null); } /** * Gets the value of the cipherSuites property. *

* This element contains the the CipherSuites that will be supported. * * @return * possible object is * {@link CipherSuites } * */ public CipherSuites getCipherSuites() { return cipherSuites; } /** * Sets the value of the cipherSuites property. * * @param value * allowed object is * {@link CipherSuites } * * @see #getCipherSuites() */ public void setCipherSuites(CipherSuites value) { this.cipherSuites = value; } public boolean isSetCipherSuites() { return (this.cipherSuites!= null); } /** * Gets the value of the cipherSuitesFilter property. *

* This element contains the filters of the supported CipherSuites * that will be supported and used if available. * * @return * possible object is * {@link FiltersType } * */ public FiltersType getCipherSuitesFilter() { return cipherSuitesFilter; } /** * Sets the value of the cipherSuitesFilter property. * * @param value * allowed object is * {@link FiltersType } * * @see #getCipherSuitesFilter() */ public void setCipherSuitesFilter(FiltersType value) { this.cipherSuitesFilter = value; } public boolean isSetCipherSuitesFilter() { return (this.cipherSuitesFilter!= null); } /** * Gets the value of the secureRandomParameters property. *

* This element contains SecureRandom specification. * * @return * possible object is * {@link SecureRandomParameters } * */ public SecureRandomParameters getSecureRandomParameters() { return secureRandomParameters; } /** * Sets the value of the secureRandomParameters property. * * @param value * allowed object is * {@link SecureRandomParameters } * * @see #getSecureRandomParameters() */ public void setSecureRandomParameters(SecureRandomParameters value) { this.secureRandomParameters = value; } public boolean isSetSecureRandomParameters() { return (this.secureRandomParameters!= null); } /** * Gets the value of the certConstraints property. *

* This element contains the Certificate Constraints specification. * * @return * possible object is * {@link CertificateConstraintsType } * */ public CertificateConstraintsType getCertConstraints() { return certConstraints; } /** * Sets the value of the certConstraints property. * * @param value * allowed object is * {@link CertificateConstraintsType } * * @see #getCertConstraints() */ public void setCertConstraints(CertificateConstraintsType value) { this.certConstraints = value; } public boolean isSetCertConstraints() { return (this.certConstraints!= null); } /** * Gets the value of the certAlias property. *

* This element contains the Certificate Alias. * * @return * possible object is * {@link String } * */ public String getCertAlias() { return certAlias; } /** * Sets the value of the certAlias property. * * @param value * allowed object is * {@link String } * * @see #getCertAlias() */ public void setCertAlias(String value) { this.certAlias = value; } public boolean isSetCertAlias() { return (this.certAlias!= null); } /** * Gets the value of the jsseProvider property. *

* This attribute contains the JSSE provider name. * * @return * possible object is * {@link String } * */ public String getJsseProvider() { return jsseProvider; } /** * Sets the value of the jsseProvider property. * * @param value * allowed object is * {@link String } * * @see #getJsseProvider() */ public void setJsseProvider(String value) { this.jsseProvider = value; } public boolean isSetJsseProvider() { return (this.jsseProvider!= null); } /** * Gets the value of the secureSocketProtocol property. *

* This attribute contains the Protocol Name. Most common * example is "SSL", "TLS" or "TLSv1". * * @return * possible object is * {@link String } * */ public String getSecureSocketProtocol() { return secureSocketProtocol; } /** * Sets the value of the secureSocketProtocol property. * * @param value * allowed object is * {@link String } * * @see #getSecureSocketProtocol() */ public void setSecureSocketProtocol(String value) { this.secureSocketProtocol = value; } public boolean isSetSecureSocketProtocol() { return (this.secureSocketProtocol!= null); } /** * Gets the value of the sslCacheTimeout property. *

* This attribute contains the JDK SSL session cache timeout * * @return * possible object is * {@link Integer } * */ public int getSslCacheTimeout() { return sslCacheTimeout; } /** * Sets the value of the sslCacheTimeout property. * * @param value * allowed object is * {@link Integer } * * @see #getSslCacheTimeout() */ public void setSslCacheTimeout(int value) { this.sslCacheTimeout = value; } public boolean isSetSslCacheTimeout() { return (this.sslCacheTimeout!= null); } public void unsetSslCacheTimeout() { this.sslCacheTimeout = null; } /** * Sets the value of the useHttpsURLConnectionDefaultSslSocketFactory property. * * @see #isUseHttpsURLConnectionDefaultSslSocketFactory() */ public void setUseHttpsURLConnectionDefaultSslSocketFactory(boolean value) { useHttpsURLConnectionDefaultSslSocketFactory = value; } public void unsetUseHttpsURLConnectionDefaultSslSocketFactory() { useHttpsURLConnectionDefaultSslSocketFactory = null; } public boolean isSetUseHttpsURLConnectionDefaultSslSocketFactory() { return (this.useHttpsURLConnectionDefaultSslSocketFactory!= null); } /** * 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. * */ public boolean isUseHttpsURLConnectionDefaultSslSocketFactory() { if (null == useHttpsURLConnectionDefaultSslSocketFactory) { return false; } return useHttpsURLConnectionDefaultSslSocketFactory; } /** * Sets the value of the useHttpsURLConnectionDefaultHostnameVerifier property. * * @see #isUseHttpsURLConnectionDefaultHostnameVerifier() */ public void setUseHttpsURLConnectionDefaultHostnameVerifier(boolean value) { useHttpsURLConnectionDefaultHostnameVerifier = value; } public void unsetUseHttpsURLConnectionDefaultHostnameVerifier() { useHttpsURLConnectionDefaultHostnameVerifier = null; } public boolean isSetUseHttpsURLConnectionDefaultHostnameVerifier() { return (this.useHttpsURLConnectionDefaultHostnameVerifier!= null); } /** * 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. * */ public boolean isUseHttpsURLConnectionDefaultHostnameVerifier() { if (null == useHttpsURLConnectionDefaultHostnameVerifier) { return false; } return useHttpsURLConnectionDefaultHostnameVerifier; } /** * Sets the value of the disableCNCheck property. * * @see #isDisableCNCheck() */ public void setDisableCNCheck(boolean value) { disableCNCheck = value; } public void unsetDisableCNCheck() { disableCNCheck = null; } public boolean isSetDisableCNCheck() { return (this.disableCNCheck!= null); } /** * 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. * */ public boolean isDisableCNCheck() { if (null == disableCNCheck) { return false; } return disableCNCheck; } /** * Sets the value of the enableRevocation property. * * @see #isEnableRevocation() */ public void setEnableRevocation(boolean value) { enableRevocation = value; } public void unsetEnableRevocation() { enableRevocation = null; } public boolean isSetEnableRevocation() { return (this.enableRevocation!= null); } /** * Gets the value of the enableRevocation property. *

* This attribute specifies whether to enable revocation when checking the server certificate. * The default is false. * */ public boolean isEnableRevocation() { if (null == enableRevocation) { return false; } return enableRevocation; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy