[Ext] Re: Scripted Attribute / weird issue
Greg Haverkamp
gahaverkamp at lbl.gov
Mon Aug 1 11:06:02 EDT 2016
On Sat, Jul 30, 2016 at 11:04 AM, Brent Putman <putmanb at georgetown.edu>
wrote:
> Actually, that's a good point. I think at that point in the script that
> value is indeed a Javascript string, not an instance of the Java String
> class. So that might change the diagnosis and solution. I'm not a
> Javascript expert. However, I tried basically what you're doing in my
> browser's console and it seems to work as expected:
>
> ...
> So the '
> split delimiter doesn't seem a problem there. But that's plain old browser
> Javascript, maybe the script engine version is behaving differently or
> something.
FWIW, I tried Rhino (most recent and an older one), Nashorn, and
Node.js/V8. None had a problem with the split. I don't have the results
any more; I saw your reply about the Java String and decided that perhaps I
didn't understand the scripted attributes and discarded my draft response.
I did not try in a resolver, because I don't have v2 around anywhere to
try. It seems something odd is happening.
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160801/2404a0db/attachment.html>
More information about the users
mailing list