Class BackendTlsProperties


  • public final class BackendTlsProperties
    extends Object
    Properties controlling TLS Certificate Validation.
    • Constructor Detail

      • BackendTlsProperties

        public BackendTlsProperties()
    • Method Detail

      • validateCertificateChain

        public Boolean validateCertificateChain()
        Get the validateCertificateChain property: Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.
        Returns:
        the validateCertificateChain value.
      • withValidateCertificateChain

        public BackendTlsProperties withValidateCertificateChain​(Boolean validateCertificateChain)
        Set the validateCertificateChain property: Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.
        Parameters:
        validateCertificateChain - the validateCertificateChain value to set.
        Returns:
        the BackendTlsProperties object itself.
      • validateCertificateName

        public Boolean validateCertificateName()
        Get the validateCertificateName property: Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.
        Returns:
        the validateCertificateName value.
      • withValidateCertificateName

        public BackendTlsProperties withValidateCertificateName​(Boolean validateCertificateName)
        Set the validateCertificateName property: Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.
        Parameters:
        validateCertificateName - the validateCertificateName value to set.
        Returns:
        the BackendTlsProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.