spmallette commented on a change in pull request #1308:
URL: https://github.com/apache/tinkerpop/pull/1308#discussion_r512669081
##########
File path:
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/handler/StateKey.java
##########
@@ -57,4 +58,9 @@ private StateKey() {}
* The key for the current request.
*/
public static final AttributeKey<RequestMessage> REQUEST_MESSAGE =
AttributeKey.valueOf("request");
+
+ /**
+ * The key for the current {@link AuthenticatedUser}.
+ */
+ public static final AttributeKey<AuthenticatedUser> AUTHENTICATED_USER =
AttributeKey.valueOf("authenticatedUser");
Review comment:
nice. looks like this body of work will also close:
https://issues.apache.org/jira/browse/TINKERPOP-2418
We will need to remember to close that issue too when this merges
----------------------------------------------------------------
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:
[email protected]