<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>On Mon, 4 Feb 2013, at 12:11 , Rod Widdowson <<a href="mailto:rdw@steadingsoftware.com">rdw@steadingsoftware.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">can you enter a JIRA case?</span></blockquote><br></div>I confess to not knowing at all how to do that...<div><br><div></div></div></div><div><div>On Mon, 4 Feb 2013, at 12:11 , Rod Widdowson <<a href="mailto:rdw@steadingsoftware.com">rdw@steadingsoftware.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">WAG: Could you be encoding a non scoped attribute definition ( xsi:type = "simple") with a scoped attribute encoder? </blockquote></div><div><br></div><div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #323333"> </span><span style="color: #091480"><resolver:AttributeDefinition </span><span style="color: #098021">id=</span>"eduPersonPrincipalName"<span style="color: #091480"> </span><span style="color: #098021">xsi:type=</span>"Script"<span style="color: #091480"> </span><span style="color: #4b5a7d">xmlns=</span>"urn:mace:shibboleth:2.0:resolver:ad"<span style="color: #091480">></span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333"> </span><resolver:Dependency <span style="color: #098021">ref=</span><span style="color: #ff9300">"myLDAP"</span> /></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333"> </span><resolver:Dependency <span style="color: #098021">ref=</span><span style="color: #ff9300">"uasystemid"</span> /></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333"> </span><resolver:Dependency <span style="color: #098021">ref=</span><span style="color: #ff9300">"uaadsystemid"</span> /></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); min-height: 16px; "><br></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #323333"> </span><span style="color: #091480"><resolver:AttributeEncoder </span><span style="color: #098021">xsi:type=</span>"SAML1ScopedString"<span style="color: #091480"> </span><span style="color: #4b5a7d">xmlns=</span>"urn:mace:shibboleth:2.0:attribute:encoder"</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #091480"> </span><span style="color: #098021">name=</span>"urn:mace:dir:attribute-def:eduPersonPrincipalName"<span style="color: #091480"> /></span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); min-height: 16px; "><br></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #323333"> </span><span style="color: #091480"><resolver:AttributeEncoder </span><span style="color: #098021">xsi:type=</span>"SAML2ScopedString"<span style="color: #091480"> </span><span style="color: #4b5a7d">xmlns=</span>"urn:mace:shibboleth:2.0:attribute:encoder"</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #091480"> </span><span style="color: #098021">name=</span>"urn:oid:1.3.6.1.4.1.5923.1.1.1.6"<span style="color: #091480"> </span><span style="color: #098021">friendlyName=</span>"eduPersonPrincipalName"<span style="color: #091480"> /></span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> <span style="color: #091480"><Script></span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(75, 90, 125); "><span style="color: #323333"> </span><![CDATA[</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> importPackage(Packages.org.slf4j);</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); min-height: 16px; "><br></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> logger = LoggerFactory.getLogger("edu.internet2.middleware.shibboleth.resolver.Script.scriptTest");</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> logger.debug("Starting eduPersonPrincipalName Attribute Resolver Script:");</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); min-height: 16px; "><br></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> if (eduPersonPrincipalName == null) {</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> eduPersonPrincipalName = new BasicAttribute("eduPersonPrincipalName");</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> }</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); min-height: 16px; "><br></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> if (typeof uasystemid != "undefined" && uasystemid != null && uasystemid.getValues().size() != 0){</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> logger.debug("EDIR LDAP Values: " + uasystemid.getValues());</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> for ( i = 0; i < uasystemid.getValues().size(); i++ ){</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> value = uasystemid.getValues().get(i);</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> eduPersonPrincipalName.getValues().add(new ScopedAttributeValue(value, "<a href="http://alaska.edu">alaska.edu</a>"));</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> }</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> }</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> else {</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> if (typeof uaadsystemid != "undefined" && uaadsystemid != null && uaadsystemid.getValues().size() != 0){</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> logger.debug("AD LDAP Values: " + uaadsystemid.getValues());</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> for ( i = 0; i < uaadsystemid.getValues().size(); i++ ){</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> value = uaadsystemid.getValues().get(i);</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> eduPersonPrincipalName.getValues().add(new ScopedAttributeValue(value, "<a href="http://alaska.edu">alaska.edu</a>"));</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> }</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> }</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> }</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> logger.debug("eduPersonPrincipalName values:" + eduPersonPrincipalName.getValues());</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> logger.debug("Completed eduPersonPrincipalName Attribute Resolver Script");</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(50, 51, 51); "> <span style="color: #4b5a7d">]]></span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333"> </span></Script></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333"> </span></resolver:AttributeDefinition></div></div><div><br></div><div><br></div><div><br></div></body></html>