/** * Gets resolved events as attribute. * * @param context the context * @return the resolved events as attribute */ protected Set<Event> getResolvedEventsAsAttribute(final RequestContext context) { return context.getAttributes().get(RESOLVED_AUTHENTICATION_EVENTS, Set.class); }
/** * Put resolved events as attribute. * * @param context the context * @param resolvedEvents the resolved events */ protected void putResolvedEventsAsAttribute( final RequestContext context, final Set<Event> resolvedEvents) { context.getAttributes().put(RESOLVED_AUTHENTICATION_EVENTS, resolvedEvents); }