V3 -- Scripted Attribute Definition
Joel Levin
joel.aaron.levin at gmail.com
Thu Jun 8 16:54:28 EDT 2017
Thanks!
We have shifted track to Nashorn......
Sorry to post here -- in Nashorn
If an array -- how to find length? For loop logic....
i.e (for n=0; n<array.length(); n++)
{
Blah....
}
On Thu, Jun 8, 2017 at 10:27 AM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> > The actual script is as below.
>
> It still contains the bug I saw, you're creating the attribute, and that
> is not how V3 works. I don't know if that physically breaks it or not. This
> is documented where I pointed you to with examples of scripts that are
> trying to straddle compatibility across the various confusing dimensions.
>
> If you want to start over and not follow those examples, then start over
> and abandon the V2 APIs with a fresh script and try that, with no
> references to edu.internet2.middleware.etc
>
> > My advice is that you get your scripts working under V2 and Java
> > 8/Nashorn first. Once that's done, they should work largely unmodified
> > under V3. You're mixing changes here.
>
> That is the fundamental point. If you don't do it in that way, then I
> suggest you abandon the old script and start from scratch with the V3
> examples/API.
>
> Also, the log will tell you what the script produced (and you don't need
> or even want logging internally for that, what matters is what the resolver
> says that attribute definition produced).
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170608/973d7f4e/attachment.html>
More information about the users
mailing list