public PrincipalEntity getPrincipal() {
    return principal;
  }
Get the associated principal entity.

@return the principal entity
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PrivilegeEntity.java