public void setPrincipalDescriptor(KerberosPrincipalDescriptor principal) {
    this.principal = principal;

    if (this.principal != null) {
      this.principal.setParent(this);
    }
  }
Sets the KerberosPrincipalDescriptor related to this KerberosIdentityDescriptor

@param principal the KerberosPrincipalDescriptor related to this KerberosIdentityDescriptor
ambari-server/src/main/java/org/apache/ambari/server/state/kerberos/KerberosIdentityDescriptor.java