<div dir="ltr"><div>Hi:</div><div><br></div><div>Migrating to Java8 and Shibbolet3.</div><div><br></div><div>Having a bit of a stumble wrapping my head around the changes for java 8</div><div><br></div><div>In below -- the dependency 'bar' has 3 attributes -- where can I declare this? sourceAttributeId does not seem to be supported?</div><br><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco;color:rgb(57,51,255)"><span style="color:rgb(78,145,146)">AttributeDefinition</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(147,33,146)">id</span><span style="color:rgb(0,0,0)">=</span>"foo"<span style="color:rgb(0,0,0)">  </span><span style="color:rgb(147,33,146)">xsi:type</span><span style="color:rgb(0,0,0)">=</span>"ScriptedAttribute"<span style="color:rgb(0,145,147)">></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco">             <span style="color:rgb(0,145,147)"><</span><span style="color:rgb(78,145,146)">Dependency</span> <span style="color:rgb(147,33,146)">ref</span>=<span style="color:rgb(57,51,255)">"bar"</span> <span style="color:rgb(0,145,147)">/></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco;color:rgb(57,51,255)"><span style="color:rgb(0,0,0)">             </span><span style="color:rgb(0,145,147)"><</span><span style="color:rgb(78,145,146)">AttributeEncoder</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(147,33,146)">xsi:type</span><span style="color:rgb(0,0,0)">=</span>"SAML2String"<span style="color:rgb(0,0,0)"> </span><span style="color:rgb(147,33,146)">name</span><span style="color:rgb(0,0,0)">=</span>"urn:mace:dir:attribute-def:fooBarAttr"<span style="color:rgb(0,0,0)"> </span><span style="color:rgb(147,33,146)">friendlyName</span><span style="color:rgb(0,0,0)">=</span>"fooBarAttr"<span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,145,147)">/></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco">                    <span style="color:rgb(0,145,147)"><</span><span style="color:rgb(78,145,146)">Script</span><span style="color:rgb(0,145,147)">></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco">                      <span style="color:rgb(0,145,147)"><![CDATA[</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco"><span class="gmail-Apple-tab-span" style="white-space:pre">                                        </span>importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco"><span class="gmail-Apple-tab-span" style="white-space:pre">                                </span>        importPackage(Packages.org.apache.commons.codec.digest);</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco"><span class="gmail-Apple-tab-span" style="white-space:pre">                                </span>        importPackage(Packages.org.slf4j);</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco">                                        logger = LoggerFactory.getLogger("edu.internet2.middleware.shibboleth.resolver.Script.foo");</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco"><span class="gmail-Apple-tab-span" style="white-space:pre">                                        </span>    if (typeof bar != "undefined" && bar != null && bar.getValues().size()>0) {</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco"><span class="gmail-Apple-tab-span" style="white-space:pre">                                        </span>       <a href="http://logger.info">logger.info</a>("Yes -- it works! " + <span style="color:rgb(57,51,255)">bar.getValues()</span>);</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco"><span class="gmail-Apple-tab-span" style="white-space:pre">                                        </span>    }</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco">                        <span style="color:rgb(0,145,147)">]]></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco">                    <span style="color:rgb(0,145,147)"></</span><span style="color:rgb(78,145,146)">Script</span><span style="color:rgb(0,145,147)">></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:monaco;color:rgb(78,145,146)"><span style="color:rgb(0,0,0)">       </span><span style="color:rgb(0,145,147)"></</span>AttributeDefinition<span style="color:rgb(0,145,147)">></span><span style="color:rgb(0,0,0)">  </span></p></div></div>