attribute-resolver.xml and webflow context variables

Cantor, Scott cantor.2 at osu.edu
Mon Nov 14 22:43:49 EST 2016


On 11/14/16, 10:04 PM, "users on behalf of Joe Edwards" <users-bounces at shibboleth.net on behalf of joee at uw.edu> wrote:

> Is there is a way to set a variable in a subflow and
> then access that variable in attribute-resolver.xml?

It's not typical, but yes, you can do it. There's a SpringRequestContext subcontext underneath the ProfileRequestContext. Inside that is an object from SWF, the RequestContext (the names are all overlapping, it's very confusing until you get used to them).

The SWF RequestContext contains the maps containing all the various scopes of variables.

profileContext.getSubcontext(SpringRequestContext.class).getRequestContext().getFlowScope().get()

Something close to that.

-- Scott




More information about the users mailing list