eoinmcdonnell113 commented on code in PR #1200:
URL: https://github.com/apache/ranger/pull/1200#discussion_r3924683394


##########
security-admin/src/main/java/org/apache/ranger/biz/SessionMgr.java:
##########
@@ -214,6 +220,18 @@ public UserSessionBase processSuccessLogin(int authType, 
String userAgent, HttpS
                     logger.debug("Login Success: loginId={}, sessionId={}, 
details is null, epoch={}", currentLoginId, gjAuthSession.getId(), 
cal.getTimeInMillis());
                 }
             }
+
+            if (session != null) {

Review Comment:
   Thanks. Agreed this should be UI-only. Quota now applies only when the 
User-Agent matches ranger.krb.browser-useragents-regex. Non-browser REST/API 
clients are marked non-UI and do not count.



-- 
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