From 9f450f4d1bc69406149136bd8c3c6b7369de568a Mon Sep 17 00:00:00 2001 From: withthewind Date: Mon, 16 Dec 2019 10:18:38 +0800 Subject: [PATCH] Optimize the fetch millisecond problem --- .../apache/archiva/redback/authentication/SimpleTokenData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/SimpleTokenData.java b/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/SimpleTokenData.java index e3302bfc..16f6040b 100644 --- a/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/SimpleTokenData.java +++ b/redback-authentication/redback-authentication-api/src/main/java/org/apache/archiva/redback/authentication/SimpleTokenData.java @@ -82,7 +82,7 @@ public final class SimpleTokenData implements Serializable, TokenData { @Override public boolean isValid() { - return (new Date().getTime())