<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 6, 2015 at 2:55 PM, Kevin Foote <span dir="ltr">&lt;<a href="mailto:kpfoote@uoregon.edu" target="_blank">kpfoote@uoregon.edu</a>&gt;</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">Hi Daniel,<br>
<br>
I’m wondering about swapping out the ldap provider within the ldaptive package. Is this possible without a recompile of ldaptive and or adding additional jars?<br>
Is there a config setting that can be used for this in the ldap.properties file or would this be better as a JVM flag?<br>
<br>
-Dorg.ldaptive.provider=org.ldaptive.provider.unboundid.UnboundIDProvider<br></blockquote><div><br></div><div>That will work, you just need to include the UnboundID provider jar and the UnboundID SDK classes in your classpath.</div><div>Both can be found here: <a href="http://www.ldaptive.org/download#TOC-UnboundID">http://www.ldaptive.org/download#TOC-UnboundID</a></div><div><br></div><div>Note that specifying this switch for the entire JVM will affect all LDAP connections. If you want to specify different providers for different use cases (auth versus attribute resolution), then Misagh&#39;s suggestion is the way to go.</div><div><br></div><div>--Daniel Fisher</div><div><br></div></div></div></div>