chibenwa commented on code in PR #3223:
URL: https://github.com/apache/james-project/pull/3223#discussion_r4169346830


##########
server/protocols/jwt/src/main/java/org/apache/james/jwt/PublicKeyReader.java:
##########
@@ -33,6 +36,23 @@
 public class PublicKeyReader {
 
     private static final Logger LOGGER = 
LoggerFactory.getLogger(PublicKeyReader.class);
+    private static final String ALLOW_OUTDATED_PROPERTY = 
"james.pem.certificates.allow.outdated";
+
+    private final Clock clock;
+    private final boolean allowOutdated;
+
+    public PublicKeyReader() {
+        this(Clock.systemUTC(), Boolean.getBoolean(ALLOW_OUTDATED_PROPERTY));

Review Comment:
   Please make it more explicit that default value is false



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to