Javascript example that works with attribute-resolver.xml and Java 8

Cantor, Scott cantor.2 at osu.edu
Thu Jun 23 16:08:01 EDT 2016


> Just in case somebody else needs help writing a script for Shib IDPV3 with
> Java 8...

"Use Rhino" would be the most productive advice I can give personally, at least if you have to create objects or import packages.

> I had to create a "firstname" field based off of "cn" (commonname in LDAP)

What did you have to do with it? Splitting for example is a built-in feature of one of the plugins (the Regex) and doesn't require a script.

>               } else {
>                   gnvalue = "-";
>               }

That seems odd, that's just going to create a value that's literally a hyphen...

-- Scott



More information about the users mailing list