smiklosovic commented on code in PR #3085:
URL: https://github.com/apache/cassandra/pull/3085#discussion_r1478673260
##########
src/java/org/apache/cassandra/auth/AuthenticatedUser.java:
##########
@@ -55,13 +57,34 @@ public static void init()
private final String name;
- // Primary Role of the logged in user
+ private final String mode;
+
+ private final Map<String, String> metadata;
+
+ // Primary Role of the logged-in user
private final RoleResource role;
+ /**
+ * Defines a mode that could not be determined (none provided to
constructor).
+ */
+ public static final String UNKNOWN_MODE = "UNKNOWN";
Review Comment:
extracting this to enum would help with all other modes
--
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]