public static Collection<Event> getResolvedEventsAsAttribute(final RequestContext context) {
        return context.getAttributes().get("resolvedAuthenticationEvents", Collection.class);
    }
Gets resolved events as attribute.

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