[java-idp-plugin-totp] branch main updated: Clean up plugin info.

Scott Cantor cantor.2 at osu.edu
Thu Aug 27 20:17:21 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-totp.

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

The following commit(s) were added to refs/heads/main by this push:
       new  a2beb66   Clean up plugin info.
a2beb66 is described below

commit a2beb667dcbf5b09e7fa9164a7f08ce89223b266
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 27 16:17:13 2020 -0400

    Clean up plugin info.
---
 .../net/shibboleth/idp/plugin/totp/TOTPDescription.java    | 14 --------------
 totp-impl/src/main/resources/META-INF/plugins/plugin.props |  4 ----
 2 files changed, 18 deletions(-)

diff --git a/totp-impl/src/main/java/net/shibboleth/idp/plugin/totp/TOTPDescription.java b/totp-impl/src/main/java/net/shibboleth/idp/plugin/totp/TOTPDescription.java
index cdea15b..a109737 100644
--- a/totp-impl/src/main/java/net/shibboleth/idp/plugin/totp/TOTPDescription.java
+++ b/totp-impl/src/main/java/net/shibboleth/idp/plugin/totp/TOTPDescription.java
@@ -19,7 +19,6 @@ package net.shibboleth.idp.plugin.totp;
 
 import java.io.IOException;
 import java.net.URL;
-import java.nio.file.Path;
 import java.util.Collections;
 import java.util.List;
 
@@ -30,7 +29,6 @@ import org.springframework.core.io.ClassPathResource;
 import net.shibboleth.idp.plugin.AbstractPluginDescription;
 import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
 import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
-import net.shibboleth.utilities.java.support.collection.Pair;
 
 /**
  * Details about the TOTP login plugin.
@@ -49,18 +47,6 @@ public class TOTPDescription extends AbstractPluginDescription {
         return Collections.singletonList(new ClassPathResource("META-INF/plugins/plugin.props").getURL());
     }
 
-    /** {@inheritDoc} */
-    @Override
-    @Nonnull @NonnullElements public List<Pair<URL, Path>> getExternalFilePathsToCopy() throws IOException {
-        return Collections.emptyList();
-    }
-        
-    /** {@inheritDoc} */
-    @Override
-    @Nonnull @NonnullElements public List<Path> getFilePathsToCopy() {
-        return List.of(Path.of("conf", "testfile.xml"), Path.of("doc", "nashorn-plugin"));
-    }
-
     /** {@inheritDoc} */
     @Override
     public int getMajorVersion() {
diff --git a/totp-impl/src/main/resources/META-INF/plugins/plugin.props b/totp-impl/src/main/resources/META-INF/plugins/plugin.props
index 6742c98..b59b649 100644
--- a/totp-impl/src/main/resources/META-INF/plugins/plugin.props
+++ b/totp-impl/src/main/resources/META-INF/plugins/plugin.props
@@ -1,8 +1,4 @@
 net.shibboleth.idp.plugin.totp.versions=0.0.1
-#
-# RHINO
-# 0.0.1
-#
 net.shibboleth.idp.plugin.totp.idpVersionMax.0.0.1=5.0.0
 net.shibboleth.idp.plugin.totp.idpVersionMin.0.0.1=4.1.0
 net.shibboleth.idp.plugin.totp.supportLevel.0.0.1 = Current

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


More information about the commits mailing list