public static void putResolvedEventsAsAttribute(final RequestContext context,
                                                    final Collection<Event> resolvedEvents) {
        context.getAttributes().put("resolvedAuthenticationEvents", resolvedEvents);
    }
Put resolved events as attribute.

@param context        the context
@param resolvedEvents the resolved events
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java