On Wed, Mar 4, 2015 at 8:18 AM, Jim Price <[email protected]>
wrote:

>
> <bean id="searchConnectionFactory"
>       class="org.ldaptive.DefaultConnectionFactory"
>       p:connectionConfig-ref="searchConnectionConfig" />
>
>
Add p:provider-ref="provider" to your search connection factory.


> <bean id="connectionFactory" class="org.ldaptive.DefaultConnectionFactory"
>       p:ConnectionConfig-ref="abstractConnectionConfig"
>       p:provider-ref="provider" />
>
>
This bean isn't needed, you've already got connection factories defined.


> <bean id="abstractConnectionConfig"
>       class="org.ldaptive.ConnectionConfig"
>       p:ldapUrl="${ldap.url}"
>       p:connectTimeout="${ldap.connectTimeout}"
>       p:useStartTLS="${ldap.useStartTLS}"
>       p:sslConfig-ref="sslConfig" />
>

This bean should be abstract="true".


> <bean id="bindConnectionFactory"
>       class="org.ldaptive.DefaultConnectionFactory"
>       p:connectionConfig-ref="bindConnectionConfig" />
>
>
Add p:provider-ref="provider" to your bind connection factory.

 --Daniel Fisher

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to