Class OtpRequiredConfiguration
java.lang.Object
es.kukenan.smartfi.common.security.web.otp.OtpRequiredConfiguration
Class used to hold all the information needed about the request of an OTP.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringFired OTP rule identifier.private booleanFlag that indicates if the user must be locked if the OTP is failed 3 times in an operation covered in this rule.private StringUsed to categorize the OtpGenerateEvent (customize OTP message template).private booleanFlag that indicates that the OTP is required due SCA and that the session is reinforced once the OTP is verified.private BooleanFlag to mark the OTP to be sent.private StringUsed change the user target of the OTP. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Fired OTP rule identifier. -
sendOtp
Flag to mark the OTP to be sent. If false, no OTP will be generated, the client needs to repeat the request with the proper header set in order to get the OTP generated. -
sca
private boolean scaFlag that indicates that the OTP is required due SCA and that the session is reinforced once the OTP is verified. -
lockUserOnOtpFailure
private boolean lockUserOnOtpFailureFlag that indicates if the user must be locked if the OTP is failed 3 times in an operation covered in this rule. -
otpEventType
Used to categorize the OtpGenerateEvent (customize OTP message template). -
userIdOverride
Used change the user target of the OTP. By default, the destination is the "customerId" present in the credentials, but under some circumstances this is not desired and it must be obtained in a different way (for example, the destination of the OTP in a user impersonation request is obtained from a property present in the request body).
-
-
Constructor Details
-
OtpRequiredConfiguration
public OtpRequiredConfiguration()
-