multiple IdPAttributes returned from a scriptedAttributeDefinition?

Cantor, Scott cantor.2 at osu.edu
Wed Aug 12 16:34:33 EDT 2015


On 8/12/15, 4:27 PM, "users on behalf of cneberg" <users-bounces at shibboleth.net on behalf of cneberg at gmail.com> wrote:



>I have multiple attributes I need to extract almost every time using scriptedAttributeDefinition's in the attribute resolver, so rather than having several extremely similar scriptedAttributeDefinitions I want to know if its possible/advisable
> to return multiple IdPAttributes from a single ScriptedAttributeDefinition.

No, that's impossible. You could return more than one, I think, using a ScriptedDataConnector, which was added in V3. I believe it allows the script to return a Collection<IdPAttribute>.

I can't really follow your script, Nashorn makes my eyes bleed at this point, I haven't taken the time to learn it, so I'm just answering the general question.

-- Scott



More information about the users mailing list