public void putProperty(String name, String value) {
    if (name == null) {
      throw new IllegalArgumentException("The property name must not be null");
    }

    if (properties == null) {
      properties = new TreeMap<>();
    }

    properties.put(name, value);
  }
Adds or updates the value of the configuration property with the specified name
<p/>
If the property exists, it will be overwritten; else a new entry will be created.

@param name  a String declaring the name of the property to set
@param value a String containing the value of the property
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosConfigurationDescriptor.java