accessing user principal in scripted attributes

Cantor, Scott cantor.2 at osu.edu
Fri Jun 12 15:37:28 EDT 2015


On 6/12/15, 3:13 PM, "users on behalf of Liam Hoekenga" <users-bounces at shibboleth.net on behalf of liamr at umich.edu> wrote:

>
>My main development environment has been RHEL6.6 w/ Oracle Java 1.8.0_45 and Tomcat 8.0.23
>I also have this problem on the IdP on my laptop -  OSX 10.10.3 w/ Oracle Java 1.8.0_45 and Jetty 9.2.9..

Ok, just ruling things out.

It's clearly using Nashorn to run the script...is that I assume your intent? The scripts are rewritten to use that syntax if you ported them from V2?

I ran a unit test we have that accesses the compatibility context and that getter method and it worked under both Rhino and Nashorn.

I'm not really coming up with anything, I would suggest the next step is to expand the stack depth, change the logging config to log the whole stack so maybe something will show up to provide a clue.

My only thought is there are conflicting libraries somewhere, but having it on two different machines seems to make that unlikely.

-- Scott



More information about the users mailing list