protected void trackTrustedMultifactorAuthentication(final RequestContext requestContext, final Authentication authn) {
        LOGGER.debug("Trusted authentication session exists for [{}]", authn.getPrincipal().getId());
        MultifactorAuthenticationTrustUtils.trackTrustedMultifactorAuthenticationAttribute(
            authn, trustedProperties.getCore().getAuthenticationContextAttribute());
        WebUtils.putAuthentication(authn, requestContext);
    }
This is {@link MultifactorAuthenticationSetTrustAction}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/web/flow/MultifactorAuthenticationSetTrustAction.java