accessing user principal in scripted attributes

Cantor, Scott cantor.2 at osu.edu
Wed Jun 17 17:37:56 EDT 2015


On 6/17/15, 5:28 PM, "users on behalf of Liam Hoekenga" <users-bounces at shibboleth.net on behalf of liamr at umich.edu> wrote:
>
>I was using it to invoke DigestUtils.shaHex() (from org.apache.commons.codec.digest)

I see it in the Nashorn docs, I guess it was a Rhino thing too?

I think right now the answer is that you have to actually pull in the packages, types, etc. to use. I guess that shorthand is creating an issue.

var digester = Java.type("org.apache.commons.codec.digest");
digester.shaHex()

Maybe?

-- Scott



More information about the users mailing list