public String getPrimary() {
    return primary;
  }
Gets the primary component of this DeconstructedPrincipal

@return a String containing the "primary" component of this DeconstructedPrincipal
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/DeconstructedPrincipal.java