Class OtpForOnboardingResponseHandler
java.lang.Object
es.kukenan.smartfi.microservice.onboarding.security.otp.AbstractOtpRequiredResponseHandler
es.kukenan.smartfi.microservice.onboarding.security.otp.OtpForOnboardingResponseHandler
Specific response handler for the OTP required to proceed with onboarding.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringsignature host.(package private) UserRepositoryUsers repository.Fields inherited from class es.kukenan.smartfi.microservice.onboarding.security.otp.AbstractOtpRequiredResponseHandler
objectMapper, otpService, otpUtilities -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContract for the OTP required response handler method.Methods inherited from class es.kukenan.smartfi.microservice.onboarding.security.otp.AbstractOtpRequiredResponseHandler
publishOtpEvent, saveOtpProcess
-
Field Details
-
signatureHost
signature host. -
userRepository
Users repository.
-
-
Constructor Details
-
OtpForOnboardingResponseHandler
public OtpForOnboardingResponseHandler()
-
-
Method Details
-
handle
Description copied from class:AbstractOtpRequiredResponseHandlerContract for the OTP required response handler method.- Specified by:
handlein classAbstractOtpRequiredResponseHandler- Parameters:
user- user to send OTP.- Returns:
- OtpRequired
- Throws:
NoSuchAlgorithmException- if anNoSuchAlgorithmExceptionis thrown.
-