You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2021/05/17 13:53:57 UTC

[GitHub] [knox] pzampino commented on a change in pull request #448: KNOX-2603 - Caching passcode token verifications

pzampino commented on a change in pull request #448:
URL: https://github.com/apache/knox/pull/448#discussion_r633550033



##########
File path: gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/SignatureVerificationCache.java
##########
@@ -30,8 +30,8 @@
  */
 public class SignatureVerificationCache {
 
-    public static final String JWT_VERIFIED_CACHE_MAX = "jwt.verified.cache.max";
-    public static final int    JWT_VERIFIED_CACHE_MAX_DEFAULT = 250;
+    public static final String VERIFIED_TOKENS_CACHE_MAX = "verified.tokens.cache.max";

Review comment:
       nit: `tokens.verified.cache.max`




-- 
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:
users@infra.apache.org