public static MultifactorAuthenticationTrustRecord newInstance(final String principal, final String geography, final String fingerprint) {
        val r = new MultifactorAuthenticationTrustRecord();
        r.setRecordDate(LocalDateTime.now().truncatedTo(ChronoUnit.SECONDS));
        r.setPrincipal(principal);
        r.setDeviceFingerprint(fingerprint);
        r.setName(principal.concat("-").concat(LocalDate.now().toString()).concat("-").concat(geography));
        return r;
    }
public static MultifactorAuthenticationTrustRecord newInstance ( final String principal , final String geography , final String fingerprint ) { val r = new MultifactorAuthenticationTrustRecord ( ) ; r . setRecordDate ( LocalDateTime . now ( ) . truncatedTo ( ChronoUnit . SECONDS ) ) ; r . setPrincipal ( principal ) ; r . setDeviceFingerprint ( fingerprint ) ; r . setName ( principal . concat ( "-" ) . concat ( LocalDate . now ( ) . toString ( ) ) . concat ( "-" ) . concat ( geography ) ) ; return r ; }
New instance of authentication trust record.

@param principal   the principal
@param geography   the geography
@param fingerprint the device fingerprint
@return the authentication trust record