zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] arshadmohammad commented on a change in pull request #1105: ZOOKEEPER-1260:Audit logging in ZooKeeper servers.
Date Thu, 03 Oct 2019 17:41:25 GMT
arshadmohammad commented on a change in pull request #1105: ZOOKEEPER-1260:Audit logging in
ZooKeeper servers.
URL: https://github.com/apache/zookeeper/pull/1105#discussion_r331165917
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/Login.java
 ##########
 @@ -286,6 +286,13 @@ public Subject getSubject() {
         return subject;
     }
 
+    public String getUserName() {
+        if (principal == null || principal.isEmpty()) {
+            return System.getProperty("user.name", "<NA>");
 
 Review comment:
   done

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message