Class MMFARegisteredDevice

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_MFA_RegisteredDevice, I_Persistent, Evaluatee

public class MMFARegisteredDevice extends X_MFA_RegisteredDevice
Multi-factor Authentication Registered Device
See Also:
  • Constructor Details

    • MMFARegisteredDevice

      public MMFARegisteredDevice(Properties ctx, String MFA_RegisteredDevice_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      MFA_RegisteredDevice_UU - UUID key
      trxName - Transaction
    • MMFARegisteredDevice

      public MMFARegisteredDevice(Properties ctx, int MFA_RegisteredDevice_ID, String trxName)
      Read/Create empty MFA Registered Device
      Parameters:
      ctx - context
      MFA_RegisteredDevice_ID - ID
      trxName - transaction
    • MMFARegisteredDevice

      public MMFARegisteredDevice(Properties ctx, ResultSet rs, String trxName)
      Read MFA Registered Device from current row in ResultSet
      Parameters:
      ctx - context
      rs - ResultSet
      trxName - transaction
  • Method Details

    • isValid

      public static boolean isValid(String identifier)
      Validate if there is a non-expired device registered with identifier
      Parameters:
      identifier - device identifier
      Returns:
      true if device is valid
    • setAD_User_ID

      public void setAD_User_ID(int AD_User_ID)
      Set User/Contact.
      Specified by:
      setAD_User_ID in interface I_MFA_RegisteredDevice
      Overrides:
      setAD_User_ID in class X_MFA_RegisteredDevice
      Parameters:
      AD_User_ID -
       User within the system - Internal or Business Partner Contact.
       Overridden to allow saving System record (zero ID).