[java-identity-provider] branch main updated: Ensure module always reports as enabled.

Scott Cantor cantor.2 at osu.edu
Tue May 9 20:25:34 UTC 2023


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=7e826091dc5e2762ae3edd871a4544a39cdf7cea

The following commit(s) were added to refs/heads/main by this push:
     new 7e826091d Ensure module always reports as enabled.
7e826091d is described below

commit 7e826091dc5e2762ae3edd871a4544a39cdf7cea
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue May 9 16:25:31 2023 -0400

    Ensure module always reports as enabled.
---
 .../src/main/java/net/shibboleth/idp/module/core/impl/Core.java  | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/idp-conf-impl/src/main/java/net/shibboleth/idp/module/core/impl/Core.java b/idp-conf-impl/src/main/java/net/shibboleth/idp/module/core/impl/Core.java
index 9b367a9ec..fa2f5382c 100644
--- a/idp-conf-impl/src/main/java/net/shibboleth/idp/module/core/impl/Core.java
+++ b/idp-conf-impl/src/main/java/net/shibboleth/idp/module/core/impl/Core.java
@@ -19,7 +19,10 @@ package net.shibboleth.idp.module.core.impl;
 
 import java.io.IOException;
 
+import javax.annotation.Nonnull;
+
 import net.shibboleth.idp.module.IdPModule;
+import net.shibboleth.idp.module.ModuleContext;
 import net.shibboleth.idp.module.ModuleException;
 import net.shibboleth.idp.module.impl.CoreIdPModule;
 
@@ -38,4 +41,10 @@ public final class Core extends CoreIdPModule {
         super(Core.class);
     }
 
+    /** {@inheritDoc} */
+    @Override
+    public boolean isEnabled(@Nonnull final ModuleContext moduleContext) {
+        return true;
+    }
+
 }
\ No newline at end of file

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


More information about the commits mailing list