@Override
  public int hashCode() {
    return privilegeEntity != null ? privilegeEntity.hashCode() : 0;
  }
Get the associated privilege.

@return the privilege
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/AmbariGrantedAuthority.java