@Transactional
  public void remove(String principalName) {
    entityManagerProvider.get().remove(find(principalName));
  }
Remove entity instance by primary key

@param principalName Primary key: kerberos principal name
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosPrincipalDAO.java