java.lang.Object
io.getlime.security.powerauth.lib.cmd.steps.AbstractBaseStep<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse>
io.getlime.security.powerauth.lib.cmd.steps.v3.RemoveStep
All Implemented Interfaces:
BaseStep

@Component("removeStepV3") public class RemoveStep extends AbstractBaseStep<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse>
Helper class with activation remove logic.

PowerAuth protocol versions:

  • 3.0
  • 3.1
  • 3.2
  • 3.3
Author:
Lukas Lukovsky, lukas.lukovsky@wultra.com, Roman Strobl, roman.strobl@wultra.com
  • Constructor Details

    • RemoveStep

      @Autowired public RemoveStep(PowerAuthHeaderFactory powerAuthHeaderFactory, ResultStatusService resultStatusService, StepLoggerFactory stepLoggerFactory)
      Constructor
      Parameters:
      powerAuthHeaderFactory - PowerAuth header factory
      resultStatusService - Result status service
      stepLoggerFactory - Step logger factory
    • RemoveStep

      public RemoveStep()
      Constructor for backward compatibility
  • Method Details

    • getResponseTypeReference

      protected org.springframework.core.ParameterizedTypeReference<io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> getResponseTypeReference()
      Specified by:
      getResponseTypeReference in class AbstractBaseStep<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse>
      Returns:
      Type reference of the response object
    • prepareStepContext

      public StepContext<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> prepareStepContext(StepLogger stepLogger, Map<String,Object> context) throws Exception
      Description copied from class: AbstractBaseStep
      Prepares a context for this step execution
      Specified by:
      prepareStepContext in class AbstractBaseStep<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse>
      Parameters:
      stepLogger - Step logger
      context - Context data
      Returns:
      Step context
      Throws:
      Exception - when an error during context preparation occurred.
    • processResponse

      public void processResponse(StepContext<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse> stepContext)
      Description copied from class: AbstractBaseStep
      Optional processing of the response data
      Overrides:
      processResponse in class AbstractBaseStep<RemoveStepModel,io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse>
      Parameters:
      stepContext - Step context