@RequiresSession
  public List<PrincipalTypeEntity> findAll() {
    TypedQuery<PrincipalTypeEntity> query = entityManagerProvider.get().createQuery("SELECT principalType FROM PrincipalTypeEntity principalType", PrincipalTypeEntity.class);
    return daoUtils.selectList(query);
  }
Find all principal types.

@return all principal types or an empty List
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/PrincipalTypeDAO.java