[java-oidc-common] branch main updated: Add idp.oidc.common.7 module
Phil Smart
philip.smart at jisc.ac.uk
Thu Jun 5 08:32:24 UTC 2025
This is an automated email from the git hooks/post-receive script.
philsmart 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=d8390ebde945b2ed9ea478445faa44611928812b
The following commit(s) were added to refs/heads/main by this push:
new d8390eb Add idp.oidc.common.7 module
d8390eb is described below
commit d8390ebde945b2ed9ea478445faa44611928812b
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Jun 5 09:32:21 2025 +0100
Add idp.oidc.common.7 module
- Add missing classes
---
.../shibboleth/oidc/common/OIDCCommonModule7.java | 35 ++++++++++++++++++++++
.../shibboleth/oidc/common/OIDCCommonPlugin.java | 5 ++--
.../services/net.shibboleth.idp.module.IdPModule | 1 +
3 files changed, 39 insertions(+), 2 deletions(-)
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
new file mode 100644
index 0000000..99ac3d4
--- /dev/null
+++ b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule7.java
@@ -0,0 +1,35 @@
+/*
+ * 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 deb7de4..06f96b3 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
@@ -37,8 +37,9 @@ public class OIDCCommonPlugin extends FirstPartyIdPPlugin{
final IdPModule module4 = new OIDCCommonModule4();
final IdPModule module5 = new OIDCCommonModule5();
final IdPModule module6 = new OIDCCommonModule6();
- setEnableOnInstall(CollectionSupport.setOf(module4, module5, module6));
- setDisableOnRemoval(CollectionSupport.setOf(module4, module5, module6));
+ final IdPModule module7 = new OIDCCommonModule7();
+ setEnableOnInstall(CollectionSupport.setOf(module4, module5, module6, module7));
+ setDisableOnRemoval(CollectionSupport.setOf(module4, module5, module6, module7));
} catch (final IOException e) {
throw e;
} catch (final ModuleException e) {
diff --git a/oidc-common-plugin/src/main/resources/META-INF/services/net.shibboleth.idp.module.IdPModule b/oidc-common-plugin/src/main/resources/META-INF/services/net.shibboleth.idp.module.IdPModule
index f7bd066..8fba12f 100644
--- a/oidc-common-plugin/src/main/resources/META-INF/services/net.shibboleth.idp.module.IdPModule
+++ b/oidc-common-plugin/src/main/resources/META-INF/services/net.shibboleth.idp.module.IdPModule
@@ -1,3 +1,4 @@
net.shibboleth.oidc.common.OIDCCommonModule4
net.shibboleth.oidc.common.OIDCCommonModule5
net.shibboleth.oidc.common.OIDCCommonModule6
+net.shibboleth.oidc.common.OIDCCommonModule7
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list