[java-oidc-common] branch main updated: JCOMOIDC-95 - Add clockSkew and idGenerator configuration hooks to JSONSecurityConfiguration

Henri Mikkonen henri.mikkonen at iki.fi
Fri Mar 22 11:11:32 UTC 2024


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

hjmikkon pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=fccb1dcaa30bf47b5831e5b1d442f4585723ac01

The following commit(s) were added to refs/heads/main by this push:
     new fccb1dc  JCOMOIDC-95 - Add clockSkew and idGenerator configuration hooks to JSONSecurityConfiguration
fccb1dc is described below

commit fccb1dcaa30bf47b5831e5b1d442f4585723ac01
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Mar 22 13:10:22 2024 +0200

    JCOMOIDC-95 - Add clockSkew and idGenerator configuration hooks to JSONSecurityConfiguration
    
    https://shibboleth.atlassian.net/browse/JCOMOIDC-95
    
    Add @ParameterName annotation to the constructor args.
---
 .../shibboleth/oidc/profile/config/JSONSecurityConfiguration.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/JSONSecurityConfiguration.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/JSONSecurityConfiguration.java
index b409f43..c4390a0 100644
--- a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/JSONSecurityConfiguration.java
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/config/JSONSecurityConfiguration.java
@@ -25,6 +25,7 @@ import net.shibboleth.oidc.security.jose.DecryptionConfiguration;
 import net.shibboleth.oidc.security.jose.EncryptionConfiguration;
 import net.shibboleth.oidc.security.jose.SignatureSigningConfiguration;
 import net.shibboleth.oidc.security.jose.SignatureValidationConfiguration;
+import net.shibboleth.shared.annotation.ParameterName;
 import net.shibboleth.shared.security.IdentifierGenerationStrategy;
 
 /**
@@ -65,8 +66,8 @@ public class JSONSecurityConfiguration extends BasicSecurityConfiguration {
      * 
      * @since 3.1.0
      */
-    public JSONSecurityConfiguration(@Nonnull final Duration skew,
-            @Nonnull final IdentifierGenerationStrategy generator) {
+    public JSONSecurityConfiguration(@Nonnull @ParameterName(name = "clockSkew") final Duration skew,
+            @Nonnull @ParameterName(name = "idGenerator") final IdentifierGenerationStrategy generator) {
         super(skew, generator);
     }
 

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


More information about the commits mailing list