<div dir="ltr"><div>Thanks Rod!<br><br></div><div>Is it possible to have multiple sourceAttributes in the 1 AttributeDefinition (example below)?<br><br></div><div>I have to build different responses based on attributes returned - I was thinking of using the 1 AttributeDefinition - the end result will be marshaled into eduPersonEntitlement.<br><br><span style="color:rgb(0,0,0);font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span class=""> </span><resolver:AttributeDefinition id="BLAH" xsi:type="Script" xmlns="urn:mace:shibboleth:2.0:resolver:ad"<br> sourceAttributeID1="FOO"</span><span style="color:rgb(0,0,0);font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span style="color:rgb(0,0,0);font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><br> sourceAttributeID1="BAR</span>"<br> </span><span style="color:rgb(0,0,0);font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span style="color:rgb(0,0,0);font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none"><span style="color:rgb(0,0,0);font-family:"Segoe UI",Helvetica,Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">sourceAttributeID1="NUMNUM</span>"</span>><br> <br><resolver:Dependency ref="student_repos" /></span><br><br>resolver:AttributeEncoder xsi:type="SAML2String" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br> name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" friendlyName="eduPersonAffiliation" /><br> <br> <Script><br> <![CDATA[<br></div> script here<br><div> ]]><br> </Script><br> </resolver:AttributeDefinition> <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 March 2015 at 08:32, Rod Widdowson <span dir="ltr"><<a href="mailto:rdw@steadingsoftware.com" target="_blank">rdw@steadingsoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> Is it possible to have multiple sourceAttributeID in the AttributeDefinition?<br>
<br>
</span>If I understand you correctly you need to add the attributes or data connectors as dependencies. The attributes will be available to your script:<br>
<br>
<a href="https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverScriptAttributeDefinition" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverScriptAttributeDefinition</a><br>
<br>
> A variable for each attribute produced by the defined dependencies of this definition. The variable's<br>
> name will be that of the ID of the attribute from the dependency. In the event that more than one<br>
> dependency produces attributes with the same ID the values of all of those attributes will be merged and<br>
> made available to the script.<br>
<span class="HOEnZb"><font color="#888888"><br>
Rod<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div>