@RequiresSession
  public List<KerberosPrincipalEntity> findAll() {
    TypedQuery<KerberosPrincipalEntity> query = entityManagerProvider.get()
        .createNamedQuery("KerberosPrincipalEntityFindAll", KerberosPrincipalEntity.class);
    return query.getResultList();
  }
Find all kerberos principals.

@return a List of all KerberosPrincipalEntity objects or an empty List
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/KerberosPrincipalDAO.java