protected void populateContextWithAuthentication(final RequestContext requestContext,
                                                     final TransientSessionTicket ticket) throws Throwable {
        val authenticationResultBuilder = ticket.getProperty(
            AuthenticationResultBuilder.class.getSimpleName(),
            AuthenticationResultBuilder.class);
        val service = ticket.getProperty(Service.class.getSimpleName(), Service.class);
        populateContextWithAuthentication(requestContext, authenticationResultBuilder, service);
    }
This is {@link DuoSecurityUniversalPromptPrepareLoginAction}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-duo-core/src/main/java/org/apereo/cas/adaptors/duo/web/flow/action/DuoSecurityUniversalPromptValidateLoginAction.java