[java-oidc-common] branch main updated: JCOMOIDC-167 - Update Nimbus oauth2-oidc-sdk into the latest v11
Codeberg
noreply at shibboleth.net
Mon Jun 15 08:33:10 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
https://codeberg.org/Shibboleth/java-oidc-common/commit/4ff15ce7e4b2c891f7bd67686582b7b256e93124
The following commit(s) were added to refs/heads/main by this push:
new 4ff15ce7 JCOMOIDC-167 - Update Nimbus oauth2-oidc-sdk into the latest v11
4ff15ce7 is described below
commit 4ff15ce7e4b2c891f7bd67686582b7b256e93124
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Jun 15 11:32:35 2026 +0300
JCOMOIDC-167 - Update Nimbus oauth2-oidc-sdk into the latest v11
https://shibboleth.atlassian.net/browse/JCOMOIDC-167
Bumped Nimbus and its dependencies
- nimbus-jose-jwt 9.40 -> 10.9.1
- oauth2-oidc-sdk 10.15 -> 11.37.2
- json.smart 2.5.2 -> 2.6.0
- accessors.smart 1.2 -> 2.6.0
Removed idp.oidc.common.4-7 from module.properties
- Breaking changes in the Nimbus API
---
.../shibboleth/oidc/common/OIDCCommonModule4.java | 35 ----------------------
.../shibboleth/oidc/common/OIDCCommonModule5.java | 35 ----------------------
.../shibboleth/oidc/common/OIDCCommonModule6.java | 35 ----------------------
.../shibboleth/oidc/common/OIDCCommonModule7.java | 35 ----------------------
.../shibboleth/oidc/common/OIDCCommonPlugin.java | 8 ++---
.../net/shibboleth/oidc/common/module.properties | 28 +----------------
pom.xml | 8 ++---
7 files changed, 7 insertions(+), 177 deletions(-)
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule4.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule4.java
deleted file mode 100644
index a9b4cdff..00000000
--- a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule4.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.oidc.common;
-
-import java.io.IOException;
-
-import net.shibboleth.idp.module.impl.PluginIdPModule;
-import net.shibboleth.profile.module.ModuleException;
-
-/** OIDC Common module implementation.*/
-public class OIDCCommonModule4 extends PluginIdPModule {
-
- /**
- * Constructor.
- *
- * @throws IOException if the property file cannot be loaded
- * @throws ModuleException if other errors occur
- */
- public OIDCCommonModule4() throws IOException, ModuleException {
- super(OIDCCommonModule4.class);
- }
-
-}
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule5.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule5.java
deleted file mode 100644
index e6ba40b6..00000000
--- a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule5.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.oidc.common;
-
-import java.io.IOException;
-
-import net.shibboleth.idp.module.impl.PluginIdPModule;
-import net.shibboleth.profile.module.ModuleException;
-
-/** OIDC Common module implementation.*/
-public class OIDCCommonModule5 extends PluginIdPModule {
-
- /**
- * Constructor.
- *
- * @throws IOException if the property file cannot be loaded
- * @throws ModuleException if other errors occur
- */
- public OIDCCommonModule5() throws IOException, ModuleException {
- super(OIDCCommonModule5.class);
- }
-
-}
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule6.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule6.java
deleted file mode 100644
index 6c57d11f..00000000
--- a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule6.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.oidc.common;
-
-import java.io.IOException;
-
-import net.shibboleth.idp.module.impl.PluginIdPModule;
-import net.shibboleth.profile.module.ModuleException;
-
-/** OIDC Common module implementation.*/
-public class OIDCCommonModule6 extends PluginIdPModule {
-
- /**
- * Constructor.
- *
- * @throws IOException if the property file cannot be loaded
- * @throws ModuleException if other errors occur
- */
- public OIDCCommonModule6() throws IOException, ModuleException {
- super(OIDCCommonModule6.class);
- }
-
-}
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule7.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule7.java
deleted file mode 100644
index 99ac3d4d..00000000
--- a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule7.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.oidc.common;
-
-import java.io.IOException;
-
-import net.shibboleth.idp.module.impl.PluginIdPModule;
-import net.shibboleth.profile.module.ModuleException;
-
-/** OIDC Common module implementation.*/
-public class OIDCCommonModule7 extends PluginIdPModule {
-
- /**
- * Constructor.
- *
- * @throws IOException if the property file cannot be loaded
- * @throws ModuleException if other errors occur
- */
- public OIDCCommonModule7() throws IOException, ModuleException {
- super(OIDCCommonModule7.class);
- }
-
-}
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java
index e0103d7d..5704777c 100644
--- a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java
+++ b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java
@@ -34,13 +34,9 @@ public class OIDCCommonPlugin extends FirstPartyIdPPlugin{
public OIDCCommonPlugin() throws IOException, PluginException{
super(OIDCCommonPlugin.class);
try {
- final IdPModule module4 = new OIDCCommonModule4();
- final IdPModule module5 = new OIDCCommonModule5();
- final IdPModule module6 = new OIDCCommonModule6();
- final IdPModule module7 = new OIDCCommonModule7();
final IdPModule module8 = new OIDCCommonModule8();
- setEnableOnInstall(CollectionSupport.setOf(module4, module5, module6, module7, module8));
- setDisableOnRemoval(CollectionSupport.setOf(module4, module5, module6, module7, module8));
+ setEnableOnInstall(CollectionSupport.setOf(module8));
+ setDisableOnRemoval(CollectionSupport.setOf(module8));
} catch (final IOException e) {
throw e;
} catch (final ModuleException e) {
diff --git a/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties b/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties
index 1d023eee..ef64d5ac 100644
--- a/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties
+++ b/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties
@@ -1,36 +1,10 @@
# Properties defining this module.
# Class to Module ID mappings
-net.shibboleth.oidc.common.OIDCCommonModule4 = idp.oidc.common.4
-net.shibboleth.oidc.common.OIDCCommonModule5 = idp.oidc.common.5
-net.shibboleth.oidc.common.OIDCCommonModule6 = idp.oidc.common.6
-net.shibboleth.oidc.common.OIDCCommonModule7 = idp.oidc.common.7
net.shibboleth.oidc.common.OIDCCommonModule8 = idp.oidc.common.8
# Module Owner
-idp.oidc.common.4.plugin = net.shibboleth.oidc.common
-
-idp.oidc.common.4.name = OIDC Common Library
-idp.oidc.common.4.desc = Module that provides common OIDC processing functions for other plugins to use
-idp.oidc.common.4.url = /OIDCCommon
-
-idp.oidc.common.5.plugin = net.shibboleth.oidc.common
-
-idp.oidc.common.5.name = OIDC Common Library
-idp.oidc.common.5.desc = Module that provides common OIDC processing functions for other plugins to use
-idp.oidc.common.5.url = /OIDCCommon
-
-idp.oidc.common.6.plugin = net.shibboleth.oidc.common
-
-idp.oidc.common.6.name = OIDC Common Library
-idp.oidc.common.6.desc = Module that provides common OIDC processing functions for other plugins to use
-idp.oidc.common.6.url = /OIDCCommon
-
-idp.oidc.common.7.plugin = net.shibboleth.oidc.common
-
-idp.oidc.common.7.name = OIDC Common Library
-idp.oidc.common.7.desc = Module that provides common OIDC processing functions for other plugins to use
-idp.oidc.common.7.url = /OIDCCommon
+idp.oidc.common.8.plugin = net.shibboleth.oidc.common
idp.oidc.common.8.name = OIDC Common Library
idp.oidc.common.8.desc = Module that provides common OIDC processing functions for other plugins to use
diff --git a/pom.xml b/pom.xml
index 6da5c290..47a1ac7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,10 +48,10 @@
<shib-metadata.version>5.0.0</shib-metadata.version>
<opensaml.groupId>org.opensaml</opensaml.groupId>
<opensaml.version>5.0.0</opensaml.version>
- <nimbus-jose-jwt.version>9.40</nimbus-jose-jwt.version>
- <oauth2-oidc-sdk.version>10.15</oauth2-oidc-sdk.version>
- <json.smart.version>2.5.2</json.smart.version>
- <accessors.smart.version>1.2</accessors.smart.version>
+ <nimbus-jose-jwt.version>10.9.1</nimbus-jose-jwt.version>
+ <oauth2-oidc-sdk.version>11.37.2</oauth2-oidc-sdk.version>
+ <json.smart.version>2.6.0</json.smart.version>
+ <accessors.smart.version>2.6.0</accessors.smart.version>
<nimbus.lang.tag.version>1.7</nimbus.lang.tag.version>
<nimbus.content.type.version>2.3</nimbus.content.type.version>
<checkstyle.configLocation>${project.basedir}/resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list