public synchronized Principal getPrincipal() {
    return principal;
  }
Returns the {@code principal} for which authorization failed.

@return the {@code principal} for which authorization failed.
geode-core/src/main/java/org/apache/geode/security/NotAuthorizedException.java