smiklosovic commented on code in PR #3085:
URL: https://github.com/apache/cassandra/pull/3085#discussion_r1478763790


##########
src/java/org/apache/cassandra/auth/AuthenticatedUser.java:
##########
@@ -74,6 +97,22 @@ public RoleResource getPrimaryRole()
         return role;
     }
 
+    /**
+     * The mode of authentication used to authenticate this user, e.g. 
'password', 'mtls', 'anonymous', etc.
+     */
+    public String getMode()
+    {
+        return mode;
+    }
+
+    /**
+     * {@link IAuthenticator}-contextual metadata about how the user was 
authenticated.

Review Comment:
   stupid question ... of course _how it was authenticated_ as this is in the 
class called "AuthenticatedUser" :D



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to