<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Wed, 12 Jun 2013, at 08:43 , Farrukh Najmi &lt;<a href="mailto:farrukh@wellfleetsoftware.com">farrukh@wellfleetsoftware.com</a>&gt; wrote:</div><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><ul><li>What does the FilterTemplate in the following mean (it is from
        the thread referenced above)?<br>
        <br>
        &nbsp; &nbsp;&nbsp; &lt;resolver:DataConnector id="ldapGroups"
        xsi:type="LDAPDirectory"<br><p>...<br>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;FilterTemplate&gt;<br>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;![CDATA[<br>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (&amp;(objectclass=<wbr>rfc822mailgroup)(member=uid=$<wbr>requestContext.principalName,<wbr>ou=people,dc=example,dc=edu))<br>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]]&gt;<br>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/FilterTemplate&gt;<br></p></li></ul></div></blockquote><div><br></div><div>describes how to look up the principal in your LDAP Directory given what the end-user has entered;&nbsp;</div><div>in this case limiting to particular object class in the LDAP Directory and looking to match the end-user input</div><div>to member or uid of a record in ou=people… tree.</div><div><br></div><div>Your own merely specifies what attribute to match to to the end-user input:</div><div><br></div><div></div><blockquote type="cite"></blockquote><blockquote type="cite"><div><span style="background-color: rgb(255, 255, 255); ">&nbsp; &nbsp; &nbsp; &lt;dc:FilterTemplate&gt;</span><br style="background-color: rgb(255, 255, 255); "><span style="background-color: rgb(255, 255, 255); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![CDATA[</span><br style="background-color: rgb(255, 255, 255); "><span style="background-color: rgb(255, 255, 255); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (uid=$requestContext.principalName)</span><br style="background-color: rgb(255, 255, 255); "><span style="background-color: rgb(255, 255, 255); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]]&gt;</span><br style="background-color: rgb(255, 255, 255); "><span style="background-color: rgb(255, 255, 255); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dc:FilterTemplate&gt;</span><br style="background-color: rgb(255, 255, 255); "></div></blockquote><div><br></div><div><br></div><blockquote type="cite"><span style="background-color: rgb(255, 255, 255); ">&nbsp;Do I need a second one for the ldapGroups</span><br></blockquote><div><br></div>No, just one connector for one directory source.</div><div><br><blockquote type="cite"><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><ul>
      </ul></div></blockquote><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><ul></ul></div></blockquote></blockquote><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><ul><li><p>Do I need a new AttributeDefinition for the groups attribute?
          If so, what does that look like?<br></p></li></ul></div></blockquote><div><br></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #323333">&nbsp; &nbsp;</span><span style="color: #091480">&lt;resolver:AttributeDefinition </span><span style="color: #098021">id=</span>"isMemberOf"<span style="color: #091480"> </span><span style="color: #098021">xsi:type=</span>"Simple"<span style="color: #091480"> </span><span style="color: #4b5a7d">xmlns=</span>"urn:mace:shibboleth:2.0:resolver:ad"</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 128, 33); "><span style="color: #091480">&nbsp; &nbsp; &nbsp; &nbsp; </span>sourceAttributeID=<span style="color: #ff9300">"eduIsMemberOf"</span><span style="color: #091480">&gt;</span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333">&nbsp; &nbsp; &nbsp; &nbsp; </span>&lt;resolver:Dependency <span style="color: #098021">ref=</span><span style="color: #ff9300">"myLDAP"</span> /&gt;</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #323333">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #091480">&lt;resolver:AttributeEncoder </span><span style="color: #098021">xsi:type=</span>"SAML2String"<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">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #098021">name=</span>"urn:oid:1.3.6.1.4.1.5923.1.5.1.1"<span style="color: #091480"> </span><span style="color: #098021">friendlyName=</span>"isMemberOf"<span style="color: #091480"> /&gt;</span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333">&nbsp; &nbsp; </span>&lt;/resolver:AttributeDefinition&gt;</div><div><br></div><div>or&nbsp;</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">&nbsp; &nbsp;&nbsp;</span><span style="color: #091480">&lt;resolver:AttributeDefinition </span><span style="color: #098021">id=</span>"ADmemberOf"<span style="color: #091480"> </span><span style="color: #098021">xsi:type=</span>"Simple"<span style="color: #091480"> </span><span style="color: #4b5a7d">xmlns=</span>"urn:mace:shibboleth:2.0:resolver:ad"<span style="color: #091480"> </span><span style="color: #098021">sourceAttributeID=</span>"memberOf"<span style="color: #091480">&gt;</span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333"><span class="Apple-tab-span" style="white-space:pre">        </span></span>&lt;resolver:Dependency <span style="color: #098021">ref=</span><span style="color: #ff9300">"myADLDAP"</span> /&gt;</div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(255, 147, 0); "><span style="color: #323333"><span class="Apple-tab-span" style="white-space:pre">        </span></span><span style="color: #091480">&lt;resolver:AttributeEncoder </span><span style="color: #098021">xsi:type=</span>"SAML2String"<span style="color: #091480"> </span><span style="color: #4b5a7d">xmlns=</span>"urn:mace:shibboleth:2.0:attribute:encoder"<span style="color: #091480"> </span><span style="color: #098021">name=</span>"urn:oid:1.2.840.113556.1.2.102"<span style="color: #091480"> </span><span style="color: #098021">friendlyName=</span>"ADmemberOf"<span style="color: #091480"> /&gt;</span></div><div style="margin: 0px; font-size: 13px; font-family: 'Lucida Sans'; color: rgb(9, 20, 128); "><span style="color: #323333">&nbsp; &nbsp; </span>&lt;/resolver:AttributeDefinition&gt;</div></div><div><br></div><div>David Bantz</div><div><br></div></div></body></html>