Class TLSServerParametersType
- java.lang.Object
-
- org.apache.cxf.configuration.security.TLSServerParametersType
-
- Direct Known Subclasses:
TLSServerParametersConfig.TLSServerParametersTypeInternal
public class TLSServerParametersType extends Object
Java class for TLSServerParametersType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TLSServerParametersType"> <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="excludeProtocols" type="{http://cxf.apache.org/configuration/security}ExcludeProtocols" minOccurs="0"/> <element name="includeProtocols" type="{http://cxf.apache.org/configuration/security}IncludeProtocols" minOccurs="0"/> <element name="secureRandomParameters" type="{http://cxf.apache.org/configuration/security}SecureRandomParameters" minOccurs="0"/> <element name="clientAuthentication" type="{http://cxf.apache.org/configuration/security}ClientAuthentication" 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="jsseProvider" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="secureSocketProtocol" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="enableRevocation" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" /> <attribute name="sniHostCheck" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcertAliasThis element contains the Certificate Alias.protected CertificateConstraintsTypecertConstraintsThis element contains the Certificate Constraints specification.protected CipherSuitescipherSuitesThis element contains the the CipherSuites that will be supported.protected FiltersTypecipherSuitesFilterThis element contains the filters of the supported CipherSuites that will be supported and used if available.protected ClientAuthenticationclientAuthenticationThis element contains Client Authentication specification.protected BooleanenableRevocationThis attribute specifies whether to enable revocation when checking the client certificate, if client authentication is enabled.protected ExcludeProtocolsexcludeProtocolsThis element contains the the Protocols that will be excludedprotected IncludeProtocolsincludeProtocolsThis element contains the the Protocols that will be includedprotected StringjsseProviderThis attribute contains the JSSE provider name.protected KeyManagersTypekeyManagersThis element contains the KeyManagers specification.protected SecureRandomParameterssecureRandomParametersThis element contains SecureRandom specification.protected StringsecureSocketProtocolThis attribute contains the Protocol Name.protected BooleansniHostCheckIf the SNI host name must match.protected TrustManagersTypetrustManagersThis element contains the TrustManagers specification.
-
Constructor Summary
Constructors Constructor Description TLSServerParametersType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCertAlias()Gets the value of the certAlias property.CertificateConstraintsTypegetCertConstraints()Gets the value of the certConstraints property.CipherSuitesgetCipherSuites()Gets the value of the cipherSuites property.FiltersTypegetCipherSuitesFilter()Gets the value of the cipherSuitesFilter property.ClientAuthenticationgetClientAuthentication()Gets the value of the clientAuthentication property.ExcludeProtocolsgetExcludeProtocols()Gets the value of the excludeProtocols property.IncludeProtocolsgetIncludeProtocols()Gets the value of the includeProtocols property.StringgetJsseProvider()Gets the value of the jsseProvider property.KeyManagersTypegetKeyManagers()Gets the value of the keyManagers property.SecureRandomParametersgetSecureRandomParameters()Gets the value of the secureRandomParameters property.StringgetSecureSocketProtocol()Gets the value of the secureSocketProtocol property.TrustManagersTypegetTrustManagers()Gets the value of the trustManagers property.booleanisEnableRevocation()Gets the value of the enableRevocation property.booleanisSetCertAlias()booleanisSetCertConstraints()booleanisSetCipherSuites()booleanisSetCipherSuitesFilter()booleanisSetClientAuthentication()booleanisSetEnableRevocation()booleanisSetExcludeProtocols()booleanisSetIncludeProtocols()booleanisSetJsseProvider()booleanisSetKeyManagers()booleanisSetSecureRandomParameters()booleanisSetSecureSocketProtocol()booleanisSetSniHostCheck()booleanisSetTrustManagers()booleanisSniHostCheck()Gets the value of the sniHostCheck property.voidsetCertAlias(String value)Sets the value of the certAlias property.voidsetCertConstraints(CertificateConstraintsType value)Sets 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.voidsetClientAuthentication(ClientAuthentication value)Sets the value of the clientAuthentication property.voidsetEnableRevocation(boolean value)Sets the value of the enableRevocation property.voidsetExcludeProtocols(ExcludeProtocols value)Sets the value of the excludeProtocols property.voidsetIncludeProtocols(IncludeProtocols value)Sets the value of the includeProtocols property.voidsetJsseProvider(String value)Sets the value of the jsseProvider property.voidsetKeyManagers(KeyManagersType value)Sets the value of the keyManagers property.voidsetSecureRandomParameters(SecureRandomParameters value)Sets the value of the secureRandomParameters property.voidsetSecureSocketProtocol(String value)Sets the value of the secureSocketProtocol property.voidsetSniHostCheck(boolean value)Sets the value of the sniHostCheck property.voidsetTrustManagers(TrustManagersType value)Sets the value of the trustManagers property.voidunsetEnableRevocation()voidunsetSniHostCheck()
-
-
-
Field Detail
-
keyManagers
protected KeyManagersType keyManagers
This element contains the KeyManagers specification.
-
trustManagers
protected TrustManagersType trustManagers
This element contains the TrustManagers specification.
-
cipherSuites
protected CipherSuites cipherSuites
This element contains the the CipherSuites that will be supported.
-
cipherSuitesFilter
protected FiltersType cipherSuitesFilter
This element contains the filters of the supported CipherSuites that will be supported and used if available.
-
excludeProtocols
protected ExcludeProtocols excludeProtocols
This element contains the the Protocols that will be excluded
-
includeProtocols
protected IncludeProtocols includeProtocols
This element contains the the Protocols that will be included
-
secureRandomParameters
protected SecureRandomParameters secureRandomParameters
This element contains SecureRandom specification.
-
clientAuthentication
protected ClientAuthentication clientAuthentication
This element contains Client Authentication specification.
-
certConstraints
protected CertificateConstraintsType certConstraints
This element contains the Certificate Constraints specification.
-
certAlias
protected String certAlias
This element contains the Certificate Alias.
-
jsseProvider
protected String jsseProvider
This attribute contains the JSSE provider name.
-
secureSocketProtocol
protected String secureSocketProtocol
This attribute contains the Protocol Name. Most common example is "SSL", "TLS" or "TLSv1".
-
enableRevocation
protected Boolean enableRevocation
This attribute specifies whether to enable revocation when checking the client certificate, if client authentication is enabled. The default is false.
-
sniHostCheck
protected Boolean sniHostCheck
If the SNI host name must match.
-
-
Method Detail
-
getKeyManagers
public KeyManagersType getKeyManagers()
Gets the value of the keyManagers property.This element contains the KeyManagers specification.
- Returns:
- possible object is
KeyManagersType
-
setKeyManagers
public void setKeyManagers(KeyManagersType value)
Sets the value of the keyManagers property.- Parameters:
value- allowed object isKeyManagersType- See Also:
getKeyManagers()
-
isSetKeyManagers
public boolean isSetKeyManagers()
-
getTrustManagers
public TrustManagersType getTrustManagers()
Gets the value of the trustManagers property.This element contains the TrustManagers specification.
- Returns:
- possible object is
TrustManagersType
-
setTrustManagers
public void setTrustManagers(TrustManagersType value)
Sets the value of the trustManagers property.- Parameters:
value- allowed object isTrustManagersType- See Also:
getTrustManagers()
-
isSetTrustManagers
public boolean isSetTrustManagers()
-
getCipherSuites
public CipherSuites getCipherSuites()
Gets the value of the cipherSuites property.This element contains the the CipherSuites that will be supported.
- Returns:
- possible object is
CipherSuites
-
setCipherSuites
public void setCipherSuites(CipherSuites value)
Sets the value of the cipherSuites property.- Parameters:
value- allowed object isCipherSuites- See Also:
getCipherSuites()
-
isSetCipherSuites
public boolean isSetCipherSuites()
-
getCipherSuitesFilter
public FiltersType 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
public void setCipherSuitesFilter(FiltersType value)
Sets the value of the cipherSuitesFilter property.- Parameters:
value- allowed object isFiltersType- See Also:
getCipherSuitesFilter()
-
isSetCipherSuitesFilter
public boolean isSetCipherSuitesFilter()
-
getExcludeProtocols
public ExcludeProtocols getExcludeProtocols()
Gets the value of the excludeProtocols property.This element contains the the Protocols that will be excluded
- Returns:
- possible object is
ExcludeProtocols
-
setExcludeProtocols
public void setExcludeProtocols(ExcludeProtocols value)
Sets the value of the excludeProtocols property.- Parameters:
value- allowed object isExcludeProtocols- See Also:
getExcludeProtocols()
-
isSetExcludeProtocols
public boolean isSetExcludeProtocols()
-
getIncludeProtocols
public IncludeProtocols getIncludeProtocols()
Gets the value of the includeProtocols property.This element contains the the Protocols that will be included
- Returns:
- possible object is
IncludeProtocols
-
setIncludeProtocols
public void setIncludeProtocols(IncludeProtocols value)
Sets the value of the includeProtocols property.- Parameters:
value- allowed object isIncludeProtocols- See Also:
getIncludeProtocols()
-
isSetIncludeProtocols
public boolean isSetIncludeProtocols()
-
getSecureRandomParameters
public SecureRandomParameters getSecureRandomParameters()
Gets the value of the secureRandomParameters property.This element contains SecureRandom specification.
- Returns:
- possible object is
SecureRandomParameters
-
setSecureRandomParameters
public void setSecureRandomParameters(SecureRandomParameters value)
Sets the value of the secureRandomParameters property.- Parameters:
value- allowed object isSecureRandomParameters- See Also:
getSecureRandomParameters()
-
isSetSecureRandomParameters
public boolean isSetSecureRandomParameters()
-
getClientAuthentication
public ClientAuthentication getClientAuthentication()
Gets the value of the clientAuthentication property.This element contains Client Authentication specification.
- Returns:
- possible object is
ClientAuthentication
-
setClientAuthentication
public void setClientAuthentication(ClientAuthentication value)
Sets the value of the clientAuthentication property.- Parameters:
value- allowed object isClientAuthentication- See Also:
getClientAuthentication()
-
isSetClientAuthentication
public boolean isSetClientAuthentication()
-
getCertConstraints
public CertificateConstraintsType getCertConstraints()
Gets the value of the certConstraints property.This element contains the Certificate Constraints specification.
- Returns:
- possible object is
CertificateConstraintsType
-
setCertConstraints
public void setCertConstraints(CertificateConstraintsType value)
Sets the value of the certConstraints property.- Parameters:
value- allowed object isCertificateConstraintsType- See Also:
getCertConstraints()
-
isSetCertConstraints
public boolean isSetCertConstraints()
-
getCertAlias
public String getCertAlias()
Gets the value of the certAlias property.This element contains the Certificate Alias.
- Returns:
- possible object is
String
-
setCertAlias
public void setCertAlias(String value)
Sets the value of the certAlias property.- Parameters:
value- allowed object isString- See Also:
getCertAlias()
-
isSetCertAlias
public boolean isSetCertAlias()
-
getJsseProvider
public String getJsseProvider()
Gets the value of the jsseProvider property.This attribute contains the JSSE provider name.
- Returns:
- possible object is
String
-
setJsseProvider
public void setJsseProvider(String value)
Sets the value of the jsseProvider property.- Parameters:
value- allowed object isString- See Also:
getJsseProvider()
-
isSetJsseProvider
public boolean isSetJsseProvider()
-
getSecureSocketProtocol
public String 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
public void setSecureSocketProtocol(String value)
Sets the value of the secureSocketProtocol property.- Parameters:
value- allowed object isString- See Also:
getSecureSocketProtocol()
-
isSetSecureSocketProtocol
public boolean isSetSecureSocketProtocol()
-
setEnableRevocation
public void setEnableRevocation(boolean value)
Sets the value of the enableRevocation property.- See Also:
isEnableRevocation()
-
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 client certificate, if client authentication is enabled. The default is false.
-
setSniHostCheck
public void setSniHostCheck(boolean value)
Sets the value of the sniHostCheck property.- See Also:
isSniHostCheck()
-
unsetSniHostCheck
public void unsetSniHostCheck()
-
isSetSniHostCheck
public boolean isSetSniHostCheck()
-
isSniHostCheck
public boolean isSniHostCheck()
Gets the value of the sniHostCheck property.If the SNI host name must match.
-
-