public KerberosDescriptor createInstance(String json) throws AmbariException {
    try {
      return new KerberosDescriptor(parseJSON(json));
    } catch (AmbariException e) {
      throw new AmbariException("An error occurred processing the JSON-formatted string", e);
    }
  }
Given a String containing JSON-formatted text, attempts to create a KerberosDescriptor

@param json a File pointing to the file containing JSON-formatted text
@return a newly created KerberosDescriptor
@throws AmbariException if an error occurs while processing the JSON-formatted String
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosDescriptorFactory.java