code: private static void setAllowUnsafeSslRenegotiationSystemProperty(boolean allow) {
          String ibmSystemPropertyValue;
          if (allow) {
              logger.info("Unsafe SSL renegotiation enabled.");
              ibmSystemPropertyValue = "ALL";
          } else {
              logger.info("Unsafe SSL renegotiation disabled.");
              ibmSystemPropertyValue = "NONE";
          }
          System.setProperty("com.ibm.jsse2.renegotiate", ibmSystemPropertyValue);
          System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", String.valueOf(allow));
      }
docs: Sets the given value to system property "sun.security.ssl.allowUnsafeRenegotiation" and sets the appropriate value to
  system property "com.ibm.jsse2.renegotiate", which enables or not the unsafe SSL renegotiation.
  <p>
  It must be set before establishing any SSL connection. Further changes after establishing a SSL connection will have no
  effect.
  </p>
  
  @param allow the value to set to the property
  @see #setAllowUnsafeSslRenegotiation(boolean)