[java-idp-oidc] 02/02: Increased the expiration time for the RP metadata.

Henri Mikkonen henri.mikkonen at iki.fi
Sun Jan 26 16:46:11 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=d6683c481c82672975f120d48124f1ab56266022

commit d6683c481c82672975f120d48124f1ab56266022
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Sun Jan 26 23:44:41 2020 +0200

    Increased the expiration time for the RP metadata.
    
    One minute may be causing false flow test failures when the tests
    are running slowly.
---
 .../org/geant/idpextension/oidc/profile/flow/AbstractOidcFlowTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oidc/profile/flow/AbstractOidcFlowTest.java b/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oidc/profile/flow/AbstractOidcFlowTest.java
index 1256550..d326731 100644
--- a/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oidc/profile/flow/AbstractOidcFlowTest.java
+++ b/idp-oidc-extension-impl/src/test/java/org/geant/idpextension/oidc/profile/flow/AbstractOidcFlowTest.java
@@ -175,7 +175,7 @@ public abstract class AbstractOidcFlowTest extends AbstractFlowTest {
         final OIDCClientInformation information = new OIDCClientInformation(new ClientID(clientId), new Date(),
                 metadata, new Secret(secret));
         storageService.create(BaseStorageServiceClientInformationComponent.CONTEXT_NAME, clientId, 
-                information.toJSONObject().toJSONString(), System.currentTimeMillis() + 60000);        
+                information.toJSONObject().toJSONString(), System.currentTimeMillis() + (60 * 60 * 1000));
         
     }
     

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list