[java-idp-plugin-totp] branch main updated: Rebase CLI on idp.home aware classes.
Scott Cantor
cantor.2 at osu.edu
Wed Feb 3 15:31:17 UTC 2021
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=8090b3ed30a37f8ae59029e9602da444c412a457
The following commit(s) were added to refs/heads/main by this push:
new 8090b3e Rebase CLI on idp.home aware classes.
8090b3e is described below
commit 8090b3ed30a37f8ae59029e9602da444c412a457
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 3 10:31:15 2021 -0500
Rebase CLI on idp.home aware classes.
---
.../idp/plugin/authn/totp/impl/TOTPAuthenticatorArguments.java | 7 +++----
.../idp/plugin/authn/totp/impl/TOTPAuthenticatorCLI.java | 4 ++--
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorArguments.java b/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorArguments.java
index 17af2cb..db359c9 100644
--- a/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorArguments.java
+++ b/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorArguments.java
@@ -26,8 +26,7 @@ import org.slf4j.LoggerFactory;
import com.beust.jcommander.Parameter;
-import net.shibboleth.ext.spring.cli.AbstractCommandLineArguments;
-import net.shibboleth.idp.cli.DataSealerArguments;
+import net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments;
import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
import net.shibboleth.utilities.java.support.codec.Base32Support;
import net.shibboleth.utilities.java.support.codec.DecodingException;
@@ -36,7 +35,7 @@ import net.shibboleth.utilities.java.support.primitive.StringSupport;
/**
* Arguments for {@link TOTPAuthenticatorCLI}.
*/
-public class TOTPAuthenticatorArguments extends AbstractCommandLineArguments {
+public class TOTPAuthenticatorArguments extends AbstractIdPHomeAwareCommandLineArguments {
/**
* Name of a specific {@link TOTPAuthenticator}, if one has been requested.
@@ -64,7 +63,7 @@ public class TOTPAuthenticatorArguments extends AbstractCommandLineArguments {
/** {@inheritDoc} */
public Logger getLog() {
if (log == null) {
- log = LoggerFactory.getLogger(DataSealerArguments.class);
+ log = LoggerFactory.getLogger(TOTPAuthenticatorArguments.class);
}
return log;
}
diff --git a/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorCLI.java b/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorCLI.java
index deed7c8..3e926e7 100644
--- a/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorCLI.java
+++ b/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/impl/TOTPAuthenticatorCLI.java
@@ -25,8 +25,8 @@ import org.slf4j.LoggerFactory;
import com.google.common.net.UrlEscapers;
-import net.shibboleth.ext.spring.cli.AbstractCommandLine;
import net.shibboleth.idp.Version;
+import net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLine;
import net.shibboleth.idp.plugin.authn.totp.impl.TOTPAuthenticator.TOTPCredential;
import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
import net.shibboleth.utilities.java.support.codec.Base32Support;
@@ -34,7 +34,7 @@ import net.shibboleth.utilities.java.support.codec.Base32Support;
/**
* Command line utility for {@link TOTPAuthenticator}.
*/
-public class TOTPAuthenticatorCLI extends AbstractCommandLine<TOTPAuthenticatorArguments> {
+public class TOTPAuthenticatorCLI extends AbstractIdPHomeAwareCommandLine<TOTPAuthenticatorArguments> {
/** Class logger. */
@Nullable private Logger log;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list