[java-idp-oidc] 01/02: Increased the lifetime of the tokens in the revocation cache.
Henri Mikkonen
henri.mikkonen at iki.fi
Sun Jan 26 16:46:10 EST 2020
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch master
in repository java-idp-oidc.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=de7692e6227f7d163b52c906b4f4e4e6258b1103
commit de7692e6227f7d163b52c906b4f4e4e6258b1103
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Sun Jan 26 23:42:18 2020 +0200
Increased the lifetime of the tokens in the revocation cache.
The existing value (0.5s) was unnecessary short and possibly causing
false unit test failures when tests were running slowly.
---
.../org/geant/idpextension/oauth2/profile/impl/RevokeTokenTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oauth2/profile/impl/RevokeTokenTest.java b/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oauth2/profile/impl/RevokeTokenTest.java
index 3c3f722..c27631b 100644
--- a/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oauth2/profile/impl/RevokeTokenTest.java
+++ b/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oauth2/profile/impl/RevokeTokenTest.java
@@ -75,7 +75,7 @@ public class RevokeTokenTest extends BaseTokenClaimsSetTest {
storageService.initialize();
revocationCache = new RevocationCache();
- revocationCache.setEntryExpiration(Duration.ofMillis(500));
+ revocationCache.setEntryExpiration(Duration.ofHours(1));
revocationCache.setStorage(storageService);
revocationCache.initialize();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list