private KerberosDescriptor getKerberosDescriptorFromStack(StackId stackId, boolean includePreconfigureData) throws AmbariException {
    return ambariMetaInfo.getKerberosDescriptor(stackId.getStackName(), stackId.getStackVersion(), includePreconfigureData);
    // -------------------------------
  }
Get the default Kerberos descriptor from the specified stack.

@param stackId                 the relevant stack ID
@param includePreconfigureData <code>true</code> to include the preconfigure data; otherwise false
@return a Kerberos Descriptor
@throws AmbariException if an error occurs while retrieving the Kerberos descriptor
ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java