Displaying a simple error page from a flow
Wessel, Keith
kwessel at illinois.edu
Fri Dec 9 13:14:27 EST 2016
I think I get it, but I'm still not great with Spring. The util:map should look like this?
<util:map id="secondFactorHelpersMap">
<entry key="attributeResolver" value-ref="shibboleth.AttributeResolverService">
...Additional entries here
</util:map>
Then I would reference it in my checkSecondFactor bean as p:customObject-ref="secondFactorHelpersMap"?
Is custom now a hash of beans that can be referenced with something like custom["attributeResolver"]?
Sorry to have to ask for a Spring tutorial on this.
Keith
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Friday, December 09, 2016 9:41 AM
To: Shib Users <users at shibboleth.net>
Subject: Re: Displaying a simple error page from a flow
On 12/9/16, 10:39 AM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
> A problem with this solution: I don't think I can have two p:customObject-ref values.
You don't need one, just define a <util:map> bean with entries to the objects you need and inject the map. Then you just access them by name from the map.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list