@Override
  public Object getPrincipal() {
    try {
      return getSubject().getPrincipal();
    } catch (Exception ex) {
      return null;
    }
  }
Returns the current principal if one exists or null.

@return the principal
geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java