swapping out ldaptive provider

Daniel Fisher dfisher at vt.edu
Mon Apr 6 15:30:37 EDT 2015


On Mon, Apr 6, 2015 at 2:55 PM, Kevin Foote <kpfoote at uoregon.edu> wrote:

> Hi Daniel,
>
> 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?
> 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?
>
> -Dorg.ldaptive.provider=org.ldaptive.provider.unboundid.UnboundIDProvider
>

That will work, you just need to include the UnboundID provider jar and the
UnboundID SDK classes in your classpath.
Both can be found here: http://www.ldaptive.org/download#TOC-UnboundID

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's suggestion is the
way to go.

--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150406/b351d001/attachment.html 


More information about the users mailing list