Class SSLValidationManager

java.lang.Object
de.hybris.smartedit.ssl.SSLValidationManager

public class SSLValidationManager extends Object
The SSL validation manager makes it possible to enable or disable SSL validation.

Note that the SSL validation should only disabled for testing in dev/staging/qa environments where no properly signed certificates exist, and/or for internal systems communicating with other internal systems. It is strongly suggested to enable SSL validation in production environments.

  • Constructor Details

    • SSLValidationManager

      public SSLValidationManager(boolean isSSLValidationEnabled)
      Constructor.
      Parameters:
      isSSLValidationEnabled - true to enable SSL validation, false otherwise
  • Method Details

    • disableSSLValidation

      @PostConstruct public void disableSSLValidation() throws Exception
      Disables SSL certificate validation.
      Throws:
      Exception - if an error occurs while disabling SSL validation