<div dir="ltr">I'm a bit confused about the documentation described in <a href="https://wiki.shibboleth.net/confluence/display/IDP30/StaticDataConnector">https://wiki.shibboleth.net/confluence/display/IDP30/StaticDataConnector</a><div><br></div><div>It looks as if two different methods of creating static data connectors are described. The first, just a standard description in attribute-resolver.xml; the second uses <span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px">the </span><code style="color:rgb(51,51,51);font-size:14px">springResources</code><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px"> or </span><code style="color:rgb(51,51,51);font-size:14px">springResourcesRef</code><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px"> attributes. Is one method preferred over the other?</span></div><div><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px">Thanks,</span></div><div><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:14px">Mike</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 10:54 AM, Michael Dahlberg <span dir="ltr"><<a href="mailto:olgamirth@gmail.com" target="_blank">olgamirth@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Excellent. Thank you very much, Peter.<div><br></div><div>Mike</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 10:39 AM, Peter Schober <span dir="ltr"><<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Michael Dahlberg <<a href="mailto:olgamirth@gmail.com" target="_blank">olgamirth@gmail.com</a>> [2016-11-07 16:23]:<br>
<span>> I assume this is a trivial thing to do and I'm just not looking in the<br>
> right section of the wiki. Would this be called a mapped attribute<br>
> definition, described here:<br>
> <a href="https://wiki.shibboleth.net/confluence/display/IDP30/MappedAttributeDefinition" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/co<wbr>nfluence/display/IDP30/MappedA<wbr>ttributeDefinition</a><br>
<br>
</span>"Static", not "Mapped". (I agree, that's too easy to find.)<br>
E.g. defining two attributes with one value each:<br>
<br>
<resolver:DataConnector id="staticSchac" xsi:type="dc:Static"><br>
<dc:Attribute id="schacHomeOrg"><br>
<dc:Value><a href="http://example.org" rel="noreferrer" target="_blank">example.org</a></dc:Valu<wbr>e><br>
</dc:Attribute><br>
<dc:Attribute id="fooBlah"><br>
<dc:Value>the value</dc:Value><br>
</dc:Attribute><br>
</resolver:DataConnector><br>
<br>
Then reference that data connector when creating individual<br>
AttributeDefinitions (with appropriate Encoders) for each attribute.<br>
<span class="m_-5147433498326719406HOEnZb"><font color="#888888">-peter<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.n<wbr>et</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>