<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 17, 2015 at 5:37 PM, Robert A Basch <span dir="ltr"><<a href="mailto:rbasch@mit.edu" target="_blank">rbasch@mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Dec 13, 2015, at 11:09 PM, Daniel Fisher <<a href="mailto:dfisher@vt.edu">dfisher@vt.edu</a>> wrote:<br>
<br>
</span><span class="">> On Fri, Dec 11, 2015 at 3:40 PM, Robert A Basch <<a href="mailto:rbasch@mit.edu">rbasch@mit.edu</a>> wrote:<br>
> Is there any to configure the v2 resolver to support this?<br>
><br>
> I think it's possible, but I've never tried it. If you're willing to do some testing, I can walk you through the changes.<br>
<br>
</span>I now have a v2 test environment set up for trying it. What changes are<br>
needed to support this? </blockquote><div><br></div><div style="font-size:12.8px">Ok, here goes.</div><div style="font-size:12.8px">Compile the class found here: <a href="https://code.google.com/p/vt-middleware/wiki/vtldapAD#Range_Attributes" target="_blank">https://code.google.com/p/vt-middleware/wiki/vtldapAD#Range_Attributes</a></div><div style="font-size:12.8px">Put that class in your container's classpath.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Change your DataConnector configuration to include a new LDAPProperty:</div><div style="font-size:12.8px"><LDAPProperty</div><div style="font-size:12.8px">name="edu.vt.middleware.ldap.searchResultHandlers"</div><div style="font-size:12.8px">value="edu.vt.middleware.ldap.handler.FqdnSearchResultHandler,edu.vt.middleware.ldap.handler.EntryDnSearchResultHandler,edu.vt.middleware.ldap.handler.BinarySearchResultHandler,custom.package.RangeSearchResultHandler" /></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Note that if you're using the mergeResults or lowercaseAttributeNames flags, you'll have to add even more handlers.</div><div style="font-size:12.8px">Lastly, configure a search filter that returns ranged results.</div><div style="font-size:12.8px">I might have missed something, but give that a try and let me know what happens.</div><div class="" style="font-size:12.8px"><div id=":3vv" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><div><span style="color:rgb(136,136,136);font-size:12.8px">--Daniel Fisher</span></div><div><br></div></div></div></div>