Class StepProvider
java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.StepProvider
@Component public class StepProvider extends Object
Provider of PowerAuth step process components
- Author:
- Lukas Lukovsky, lukas.lukovsky@wultra.com
-
Constructor Summary
Constructors Constructor Description StepProvider(List<BaseStep> stepList, StepLogger stepLogger)Constructor -
Method Summary
Modifier and Type Method Description booleanexists(PowerAuthStep step)Provides information about existence of PowerAuth step process componentsSet<PowerAuthStep>getAvailableSteps(PowerAuthVersion version)Provides available PowerAuth steps for the specified PowerAuthVersionBaseStepgetStep(PowerAuthStep step, PowerAuthVersion version)Provides step process component by PowerAuth step identification and versionSet<PowerAuthVersion>getSupportedVersions(PowerAuthStep step)Provides 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
-