kirklund commented on a change in pull request #6835:
URL: https://github.com/apache/geode/pull/6835#discussion_r708415751



##########
File path: 
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java
##########
@@ -345,19 +348,15 @@ protected CacheClientProxy(InternalCache cache, 
CacheClientNotifier ccn, Socket
     initializeClientAuths();
   }
 
-  private void initializeClientAuths() {
-    if (AcceptorImpl.isPostAuthzCallbackPresent()) {
-      clientUserAuths = ServerConnection.getClientUserAuths(proxyID);
-    }
+  void initializeClientAuths() {
+    clientUserAuths = ServerConnection.getClientUserAuths(proxyID);

Review comment:
       If `getClientUserAuths` was non-static then you could pass an instance 
of it into the constructor and that would be even better. Since it's static you 
need to wrap it within a `Function` interface.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to