[java-idp-plugin-duo] branch main updated: Rename main plugin interface and classes.

Scott Cantor cantor.2 at osu.edu
Thu Oct 1 16:15:57 UTC 2020


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

scantor pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=b196f64b24b91932716d7a734d8f984d35a243cb

The following commit(s) were added to refs/heads/main by this push:
       new  b196f64   Rename main plugin interface and classes.
b196f64 is described below

commit b196f64b24b91932716d7a734d8f984d35a243cb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 1 12:15:55 2020 -0400

    Rename main plugin interface and classes.
---
 .../authn/duo/{DuoOIDCDescription.java => DuoOIDCPlugin.java}  | 10 +++++-----
 .../META-INF/services/net.shibboleth.idp.plugin.IdPPlugin      |  1 +
 .../services/net.shibboleth.idp.plugin.PluginDescription       |  1 -
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/DuoOIDCDescription.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/DuoOIDCPlugin.java
similarity index 90%
rename from idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/DuoOIDCDescription.java
rename to idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/DuoOIDCPlugin.java
index edf68da..9634607 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/DuoOIDCDescription.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/DuoOIDCPlugin.java
@@ -28,7 +28,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.core.io.ClassPathResource;
 
-import net.shibboleth.idp.plugin.AbstractPluginDescription;
+import net.shibboleth.idp.plugin.AbstractIdPPlugin;
 import net.shibboleth.idp.plugin.PluginVersion;
 import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
 import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
@@ -36,18 +36,18 @@ import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
 /**
  * Details about the Duo OIDC 2FA plugin.
  */
-public class DuoOIDCDescription extends AbstractPluginDescription{
+public class DuoOIDCPlugin extends AbstractIdPPlugin{
     
     /** The version of this plugin. */
     @Nonnull final private PluginVersion myVersion;
     
     /** Constructor.*/
-    public DuoOIDCDescription() {
+    public DuoOIDCPlugin() {
         final String versionAsString = Version.getVersion();
         if (versionAsString == null) {
-            final Logger log = LoggerFactory.getLogger(DuoOIDCDescription.class);
+            final Logger log = LoggerFactory.getLogger(DuoOIDCPlugin.class);
             myVersion = new PluginVersion(0,0,1);
-            log.warn("{} must be run from a jar, taking a version of {}.{}.{}", DuoOIDCDescription.class,
+            log.warn("{} must be run from a jar, taking a version of {}.{}.{}", DuoOIDCPlugin.class,
                     myVersion.getMajor(),myVersion.getMinor(),myVersion.getPatch());
            
         } else {
diff --git a/idp-duo-impl/src/main/resources/META-INF/services/net.shibboleth.idp.plugin.IdPPlugin b/idp-duo-impl/src/main/resources/META-INF/services/net.shibboleth.idp.plugin.IdPPlugin
new file mode 100644
index 0000000..3ebb677
--- /dev/null
+++ b/idp-duo-impl/src/main/resources/META-INF/services/net.shibboleth.idp.plugin.IdPPlugin
@@ -0,0 +1 @@
+net.shibboleth.idp.plugin.authn.duo.DuoOIDCPlugin
diff --git a/idp-duo-impl/src/main/resources/META-INF/services/net.shibboleth.idp.plugin.PluginDescription b/idp-duo-impl/src/main/resources/META-INF/services/net.shibboleth.idp.plugin.PluginDescription
deleted file mode 100644
index 7621083..0000000
--- a/idp-duo-impl/src/main/resources/META-INF/services/net.shibboleth.idp.plugin.PluginDescription
+++ /dev/null
@@ -1 +0,0 @@
-net.shibboleth.idp.plugin.authn.duo.DuoOIDCDescription

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


More information about the commits mailing list