Github user kjduling commented on a diff in the pull request:

    https://github.com/apache/incubator-geode/pull/276#discussion_r86900814
  
    --- Diff: 
geode-core/src/main/java/org/apache/geode/internal/security/IntegratedSecurityService.java
 ---
    @@ -409,6 +435,34 @@ public Object postProcess(Object principal, String 
regionPath, Object key, Objec
         return newValue;
       }
     
    +  private Object getPrincipal(Object principal) {
    +    if (principal == null) {
    +      Subject subject = getSubject();
    +      if (subject == null)
    +        return null;
    +      principal = subject.getPrincipal();
    +    }
    +    return principal;
    +  }
    +
    +  @Override
    +  public Collection<Object> postProcess(Query query, Collection<String> 
regionNames,
    +      Collection<Object> results) {
    +    return postProcess(null, query, regionNames, results);
    +  }
    +
    +  @Override
    +  public Collection<Object> postProcess(Object principal, Query query,
    --- End diff --
    
    done


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to