Thank you very much, it works!
The correct script is:
Here's a patch:
http://code.google.com/p/clojure-jsr223/downloads/list
Feel free to file bugs here:
http://code.google.com/p/clojure-jsr223/issues/list
On Nov 13, 9:52 am, Francesco wrote:
> I was trying to write a simple script attribute definition for
> shibboleth as
> in:https://wiki.shibbol
The compile call is a no-op and makes no difference since the engine
evaluates the script. That looks like a bug in getAttribute(). I use
put and get from the engine directly and may have overlooked something
in the attr calls. I'll upload a fix in google code asap.
On Nov 13, 9:52 am, Francesco
I was trying to write a simple script attribute definition for
shibboleth as in:
https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverScriptAttributeDefinition
with the help of clojure-jsr223.
I included both clojure.jar and clojure-jsr223.jar in classpath and
voila my script in attribute-