lasdf1234 commented on code in PR #10503:
URL: https://github.com/apache/gravitino/pull/10503#discussion_r2973104418


##########
server-common/src/test/java/org/apache/gravitino/server/authentication/TestStaticSignKeyValidator.java:
##########
@@ -485,4 +485,36 @@ public void testPrincipalFieldsWithMapper() {
     assertNotNull(principal);
     assertEquals("john.doe", principal.getName()); // Mapper extracted local 
part
   }
+
+  @Test
+  public void testValidateTokenWithGroups() {

Review Comment:
   Got,I pasted the JSON string as shown below:
   {
     "sub": "test-user",
     "groups": [
       "group1",
       "group2"
     ],
     "aud": "test-service",
     "iat": xxxxxxxxxx,
     "exp": xxxxxxxxxx
   }



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