Class TOTPAuthenticatorArguments
java.lang.Object
net.shibboleth.shared.cli.AbstractCommandLineArguments
net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
net.shibboleth.idp.plugin.authn.totp.impl.TOTPAuthenticatorArguments
- All Implemented Interfaces:
CommandLineArguments
Arguments for
TOTPAuthenticatorCLI.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringCredential account name.private StringName of a specificTOTPAuthenticator, if one has been requested.private StringCredential issuer.private org.slf4j.LoggerThe Log.private byte[]Raw token seed when verifying codes.private IntegerToken code to verify. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the token account name.Get name ofTOTPAuthenticatorbean to access.Get the token issuer.org.slf4j.LoggergetLog()byte[]getSeed()Get token seed when verifying codes.Get token code to verify.voidprintHelp(PrintStream out) voidvalidate()Methods inherited from class net.shibboleth.idp.cli.AbstractIdPHomeAwareCommandLineArguments
getHttpClientName, getHttpClientSecurityParameterstName, getIdPHome, setHttpClientNameMethods inherited from class net.shibboleth.shared.cli.AbstractCommandLineArguments
getLanguageRanges, getLoggingConfiguration, getOtherArgs, getPropertyFiles, isANSI, isHelp, isQuietOutput, isVerboseOutput, isVersion
-
Field Details
-
authenticatorName
Name of a specificTOTPAuthenticator, if one has been requested. -
issuer
Credential issuer. -
account
Credential account name. -
seed
@Nullable private byte[] seedRaw token seed when verifying codes. -
tokenCode
Token code to verify. -
log
@Nullable private org.slf4j.Logger logThe Log.
-
-
Constructor Details
-
TOTPAuthenticatorArguments
public TOTPAuthenticatorArguments()
-
-
Method Details
-
getLog
@Nonnull public org.slf4j.Logger getLog()- Specified by:
getLogin classAbstractCommandLineArguments
-
getAuthenticatorName
Get name ofTOTPAuthenticatorbean to access.- Returns:
- bean name
-
getSeed
Get token seed when verifying codes.- Returns:
- raw seed
-
getIssuer
Get the token issuer.- Returns:
- token issuer
-
getAccountName
Get the token account name.- Returns:
- token account name
-
getTokenCode
Get token code to verify.- Returns:
- token code
-
validate
- Specified by:
validatein interfaceCommandLineArguments- Overrides:
validatein classAbstractCommandLineArguments- Throws:
IllegalArgumentException
-
printHelp
- Specified by:
printHelpin interfaceCommandLineArguments- Overrides:
printHelpin classAbstractIdPHomeAwareCommandLineArguments
-