<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">It's what works :-)<br><br>The hypen is there JUST IN CASE I can't figure out what the firstname is, since the SP (WebEx) INSISTS on something/anything being in the firstname field and it won't let you create an account without something in that field.<br><br>>>>>Ericw<br><br><br><font color="#990099">-----"users" <users-bounces@shibboleth.net> wrote: -----</font><div style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: Shib Users <users@shibboleth.net><br>From: "Cantor, Scott" <cantor.2@osu.edu><br>Sent by: "users" <users-bounces@shibboleth.net><br>Date: 06/23/2016 04:08PM<br>Subject: RE: Javascript example that works with attribute-resolver.xml and Java 8<br><br><div><font face="Courier New,Courier,monospace" size="2">> Just in case somebody else needs help writing a script for Shib IDPV3 with<br>> Java 8...<br><br>"Use Rhino" would be the most productive advice I can give personally, at least if you have to create objects or import packages.<br><br>> I had to create a "firstname" field based off of "cn" (commonname in LDAP)<br><br>What did you have to do with it? Splitting for example is a built-in feature of one of the plugins (the Regex) and doesn't require a script.<br><br>>               } else {<br>>                   gnvalue = "-";<br>>               }<br><br>That seems odd, that's just going to create a value that's literally a hyphen...<br><br>-- Scott<br><br>-- <br>To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br></font></div></users-bounces@shibboleth.net></cantor.2@osu.edu></div></div></font>