lmccay commented on code in PR #1016: URL: https://github.com/apache/knox/pull/1016#discussion_r2031492236
########## gateway-service-knoxtoken/src/main/java/org/apache/knox/gateway/service/knoxtoken/TokenResource.java: ########## @@ -219,8 +220,13 @@ public int toInt() { } } + protected ServletContext wrapContextForDefaultParams(ServletContext context) throws ServletException { + return context; + } + @PostConstruct - public void init() throws AliasServiceException, ServiceLifecycleException, KeyLengthException { + public void init() throws AliasServiceException, ServiceLifecycleException, KeyLengthException, ServletException { + ServletContext context = wrapContextForDefaultParams(this.context); Review Comment: I guess not - I was considering whether there was some concurrency issue or the like but there shouldn't be. I'll change that. -- 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: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org