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 a property value
<p/>
If a property exists with the specified name, replaces its value; else adds a new entry.

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