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

@param principal   the principal
@param geography   the geography
@param fingerprint the device fingerprint
@return the authentication trust record
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/api/MultifactorAuthenticationTrustRecord.java