private static MultifactorAuthenticationTrustRecord extractAttributeValuesFrom(final Map<String, AttributeValue> item) {
        val record = new MultifactorAuthenticationTrustRecord();
        record.setId(Long.parseLong(item.get(ColumnNames.ID.getColumnName()).s()));
        record.setDeviceFingerprint(item.get(ColumnNames.DEVICE_FINGERPRINT.getColumnName()).s());
        record.setName(item.get(ColumnNames.NAME.getColumnName()).s());
        record.setPrincipal(item.get(ColumnNames.PRINCIPAL.getColumnName()).s());
        record.setRecordKey(item.get(ColumnNames.RECORD_KEY.getColumnName()).s());
        val time = Long.parseLong(item.get(ColumnNames.RECORD_DATE.getColumnName()).s());
        record.setRecordDate(DateTimeUtils.zonedDateTimeOf(Instant.ofEpochMilli(time)));
        val expTime = Long.parseLong(item.get(ColumnNames.EXPIRATION_DATE.getColumnName()).s());
        record.setExpirationDate(new Date(expTime));
        return record;
    }
This is {@link DynamoDbMultifactorTrustEngineFacilitator}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-trusted-mfa-dynamodb/src/main/java/org/apereo/cas/trusted/authentication/storage/DynamoDbMultifactorTrustEngineFacilitator.java