<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Joshua,<div><br></div><div>You can have as many dependencies as you want within a definition and it will coalesce all values that it receives from all sources by default.</div><div><br></div><div>First, you'll need individual two AttributeDefinitions, one for each sourceAttribute.</div><div><br></div><div>Then to assemble them using logic(i.e. the if/then part) rather than just coalescing all values, you will have to write a Scripted AttributeDefinition:</div><div><br></div><div><a href="https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition">https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition</a><br></div><div><br></div><div>There's an example on that page that uses two attributes and probably will give you a great starting point for your stated aims.</div><div><br></div><div>Have a good weekend,</div><div>Nate.</div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 21, 2018 at 6:54 PM Joshua Brodie <<a href="mailto:josbrodie@gmail.com">josbrodie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello...<div><br></div><div>The task I am trying to solve is for a particular 'AttributeDefinition id' :</div><div><br></div><div>--  if Dependency1 (i.e. with sourceAttribute1) is no value </div><div>--  then use Dependency2 (i.e. with sourceAttribute2). </div><div><br></div><div>Is it possible in AttributeDefinition to have 2 Dependency (each with it's own sourceAttribute)?<br></div><div><br></div><div>Or am I blowing smoke and should explore for other solution paths?</div><div><br></div><div>Thanks.</div></div></div></div></div>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a></blockquote></div>