Scripted Attribute

Cantor, Scott cantor.2 at osu.edu
Fri Jul 22 10:48:38 EDT 2016


> My google foo is failing me. Where can I find java docs on IdpAttribute class
> and methods like getValues()?

V2? I don't know if they are posted or where. Snapshots from the nightlies are in Jenkins, e.g.
https://build.shibboleth.net/jenkins/view/V2-nightly/job/java-shib-common-nightly/javadoc/

> Also is there a preferred way to test these scripts before adding them to the
> attribute-resolver.xml?

Not that I know of, they're painful to debug. With V3 at least running aacli is very fast and easy to use for testing changes. V2 is hopeless at that.

> I was planning on using scripting to do this.

I doubt anything else would work apart from actual Java code. Maybe Template, but that really requires that the individual bits be in separate source attributes. That's what I use, because I pull the course data out of our SIS data directly. Relational >>>>> LDAP all day, twice on Sundays, and three times on Saturdays.

-- Scott



More information about the users mailing list