Class OtpRequiredConfiguration

java.lang.Object
es.kukenan.smartfi.common.security.web.otp.OtpRequiredConfiguration

public class OtpRequiredConfiguration extends Object
Class used to hold all the information needed about the request of an OTP.
  • Field Details

    • id

      private String id
      Fired OTP rule identifier.
    • sendOtp

      private Boolean 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 sca
      Flag that indicates that the OTP is required due SCA and that the session is reinforced once the OTP is verified.
    • lockUserOnOtpFailure

      private boolean lockUserOnOtpFailure
      Flag that indicates if the user must be locked if the OTP is failed 3 times in an operation covered in this rule.
    • otpEventType

      private String otpEventType
      Used to categorize the OtpGenerateEvent (customize OTP message template).
    • userIdOverride

      private String 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()