Referencing entity attributes in the terms of use key bean

Cantor, Scott cantor.2 at osu.edu
Thu Sep 10 15:42:46 UTC 2020


On 9/10/20, 10:50 AM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:

>    I know I can do this in the bean as long as it outputs a string. What I Can't figure out is how to check for the entity
> attribute inside the bean. Any similar examples of this elsewhere in the IdP dist configs or documentation that someone
> could point me to?

What Peter said, and what I just told Paul. As long as you don't need to strictly pull out an arbitrary value but can do something like "if tag exists, use "foo", else use entityID", I would use the existing Predicate examples to test for a tag/value, and I'd just use a scripted function to return one string or the other.

The only way to pull the actual value of a tag out arbitrarily to return the runtime value is to repurpose a lot of low-level, though public, code to do it.

-- Scott




More information about the users mailing list