private String generateKerberosDescriptorReference() {
    String kdReference = UUID.randomUUID().toString();
    LOGGER.debug("Generated new kerberos descriptor reference: {}", kdReference);
    return kdReference;
  }
Creates and also validates SecurityConfiguration based on properties parsed from request Json.

@param properties Security properties from Json parsed into a Map
@param persistEmbeddedDescriptor whether to save embedded descriptor or not
ambari-server/src/main/java/org/apache/ambari/server/topology/SecurityConfigurationFactory.java