Activation condition using relying party by group
Wessel, Keith
kwessel at illinois.edu
Tue Jul 26 11:28:32 EDT 2016
I'm not sure how I missed that; it wasn't intentionally omitted. Thanks for finding my mistake, Scott. All's working as it should now.
Keith
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Tuesday, July 26, 2016 9:00 AM
To: Shib Users <users at shibboleth.net>
Subject: RE: Activation condition using relying party by group
> So, any clues on why it's trying to type cast and fail?
You're omitting part of the actual example. You can't apply the EntityGroupPredicate directly in a place where it's expecting a condition to operate on a ProfileRequestContext.
The example in the wiki is complete and it's all needed. You must wrap the function in the parent bean shown, that bean indirects the condition from ProfileRequestContext down to the metadata object you want to test. The syntactic magic it's pulling off is all hidden inside the parent bean.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list