[java-idp-plugin-oidc-op-oidfed] 01/02: Set mandatory lifetime to the PAR generator.

Codeberg noreply at shibboleth.net
Thu Nov 26 08:33:25 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-idp-plugin-oidc-op-oidfed.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-oidc-op-oidfed/commit/284ccf74b20f93908fc549216a90ed2bc8cf66bd

commit 284ccf74b20f93908fc549216a90ed2bc8cf66bd
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Thu Nov 26 10:12:27 2026 +0200

    Set mandatory lifetime to the PAR generator.
---
 .../op/profile/flow/oidfed/AuthorizeFlowAutomaticRegistrationTest.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/idp-oidfed-op-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/oidfed/AuthorizeFlowAutomaticRegistrationTest.java b/idp-oidfed-op-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/oidfed/AuthorizeFlowAutomaticRegistrationTest.java
index b04b3c7..669460a 100644
--- a/idp-oidfed-op-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/oidfed/AuthorizeFlowAutomaticRegistrationTest.java
+++ b/idp-oidfed-op-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/oidfed/AuthorizeFlowAutomaticRegistrationTest.java
@@ -67,6 +67,7 @@ import net.shibboleth.oidfed.testing.FederationJwtSupport;
 import net.shibboleth.shared.collection.CollectionSupport;
 import net.shibboleth.shared.collection.Pair;
 import net.shibboleth.shared.component.ComponentInitializationException;
+import net.shibboleth.shared.logic.FunctionSupport;
 import net.shibboleth.shared.security.DataSealerException;
 
 public class AuthorizeFlowAutomaticRegistrationTest extends AbstractFederationFlowTest {
@@ -945,6 +946,7 @@ public class AuthorizeFlowAutomaticRegistrationTest extends AbstractFederationFl
         parGenerator.setObjectMapper(new ObjectMapper());
         parGenerator.setDataSealer(getDataSealer());
         parGenerator.setIdentifierGeneratorLookupStrategy(prc -> idGenerator);
+        parGenerator.setRequestUriLifetimeLookupStrategy(FunctionSupport.constant(Duration.ofMinutes(5)));
         parGenerator.setId("mockPar");
         try {
             parGenerator.initialize();

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


More information about the commits mailing list