Class StepProvider
java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.StepProvider
Provider of PowerAuth step process components
- Author:
- Lukas Lukovsky, lukas.lukovsky@wultra.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists(PowerAuthStep step) Provides information about existence of PowerAuth step process componentsgetAvailableSteps(PowerAuthVersion version) Provides available PowerAuth steps for the specified PowerAuthVersiongetStep(PowerAuthStep step, PowerAuthVersion version) Provides step process component by PowerAuth step identification and versionProvides supported versions for the specified PowerAuth step
-
Constructor Details
-
StepProvider
Constructor- Parameters:
stepList- All existing PowerAuth step componentsstepLogger- Step logger
-
-
Method Details
-
exists
Provides information about existence of PowerAuth step process components- Parameters:
step- PowerAuth step identification- Returns:
- true when there is a component for the specified PowerAuth step, false otherwise
-
getStep
Provides step process component by PowerAuth step identification and version- Parameters:
step- PowerAuth step identificationversion- PowerAuth version- Returns:
- Step process component corresponding to the specified PowerAuth step, version combination
- Throws:
PowerAuthCmdException- when there is no such component for the provided PowerAuth step
-
getAvailableSteps
Provides available PowerAuth steps for the specified PowerAuthVersion- Parameters:
version- PowerAuthVersion value- Returns:
- Supported versions
-
getSupportedVersions
Provides supported versions for the specified PowerAuth step- Parameters:
step- PowerAuth step identification- Returns:
- Supported versions
-