Class OtpForLoginWithScaDateExtensionResponseHandler

java.lang.Object
es.kukenan.smartfi.microservice.security.gateway.handler.otp.AbstractOtpRequiredResponseHandler
es.kukenan.smartfi.microservice.security.gateway.handler.otp.OtpForLoginWithScaDateExtensionResponseHandler

@Component public class OtpForLoginWithScaDateExtensionResponseHandler extends AbstractOtpRequiredResponseHandler
Specific response handler for the OTP required to extend the time granted to open a session (SCA device login date extension).
  • Field Details

    • signatureHost

      @Value("${security.gateway.service.signature.uri}") private String signatureHost
      signature host.
  • Constructor Details

    • OtpForLoginWithScaDateExtensionResponseHandler

      public OtpForLoginWithScaDateExtensionResponseHandler()
  • Method Details

    • handle

      public void handle(es.kukenan.smartfi.common.service.jwt.JwtBearerToken jwt, org.springframework.web.server.ServerWebExchange exchange, es.kukenan.smartfi.microservice.security.gateway.cache.model.SessionCache cacheInformation, com.fasterxml.jackson.databind.node.ObjectNode responseObjectNode) throws NoSuchAlgorithmException, com.fasterxml.jackson.core.JsonProcessingException
      Description copied from class: AbstractOtpRequiredResponseHandler
      Contract for the OTP required response handler method.
      Specified by:
      handle in class AbstractOtpRequiredResponseHandler
      Parameters:
      jwt - current authentication.
      exchange - current ServerWebExchange.
      cacheInformation - current session information.
      responseObjectNode - current service response.
      Throws:
      NoSuchAlgorithmException - if an NoSuchAlgorithmException is thrown.
      com.fasterxml.jackson.core.JsonProcessingException