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 Summary
FieldsFields inherited from class es.kukenan.smartfi.microservice.security.gateway.handler.otp.AbstractOtpRequiredResponseHandler
objectMapper, otpService, otpUtilities -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(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) Contract for the OTP required response handler method.Methods inherited from class es.kukenan.smartfi.microservice.security.gateway.handler.otp.AbstractOtpRequiredResponseHandler
publishOtpEvent, saveOtpProcess
-
Field Details
-
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:AbstractOtpRequiredResponseHandlerContract for the OTP required response handler method.- Specified by:
handlein classAbstractOtpRequiredResponseHandler- Parameters:
jwt- current authentication.exchange- currentServerWebExchange.cacheInformation- current session information.responseObjectNode- current service response.- Throws:
NoSuchAlgorithmException- if anNoSuchAlgorithmExceptionis thrown.com.fasterxml.jackson.core.JsonProcessingException
-