Re: clojure-jsr223 and shibboleth ScriptedAttributeDefinition

2011-11-27 Thread Francesco
Thank you very much, it works! The correct script is:

Re: clojure-jsr223 and shibboleth ScriptedAttributeDefinition

2011-11-14 Thread Armando Blancas
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

Re: clojure-jsr223 and shibboleth ScriptedAttributeDefinition

2011-11-14 Thread Armando Blancas
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

clojure-jsr223 and shibboleth ScriptedAttributeDefinition

2011-11-13 Thread 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-