zeroflag commented on code in PR #554:
URL: https://github.com/apache/knox/pull/554#discussion_r849217236


##########
gateway-service-knoxtoken/src/main/java/org/apache/knox/gateway/service/knoxtoken/TokenResource.java:
##########
@@ -228,6 +235,9 @@ public void init() throws AliasServiceException, 
ServiceLifecycleException, KeyL
       }
     }
 
+    String shouldIncludeGroupsParam = 
context.getInitParameter(TOKEN_INCLUDE_GROUPS_IN_JWT);
+    shouldIncludeGroups = shouldIncludeGroupsParam == null ? false : 
Boolean.parseBoolean(shouldIncludeGroupsParam);

Review Comment:
   We can remove it from there. It only serves as "documentation" of a new 
config parameter.



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