IdPv3 - authn ldap - connection strategy?

Craig Pluchinsky craigp at iup.edu
Thu Mar 24 10:10:34 EDT 2016


I modified the Authentication handler section in 
authn/ldap-authn-config.xml to add connectionStrategy for default 
provider (JNDI).  Note I did remove connection pooling and switched to 
BindAuthenticationHandler.  This worked but might not the correct way.

     <bean id="authHandler" 
class="org.ldaptive.auth.BindAuthenticationHandler" 
p:connectionFactory-ref="bindConnectionFactory" />
     <bean id="bindConnectionFactory" 
class="org.ldaptive.DefaultConnectionFactory" 
p:connectionConfig-ref="bindConnectionConfig" 
p:provider-ref="jndiProvider"/>
     <bean id="jndiProvider" 
class="org.ldaptive.provider.jndi.JndiProvider" 
p:providerConfig-ref="jndiConfig" />
     <bean id="jndiConfig" 
class="org.ldaptive.provider.jndi.JndiProviderConfig" 
p:connectionStrategy="RANDOM" />
     <bean id="bindConnectionConfig" parent="connectionConfig" />



-------------------------------
Craig Pluchinsky
IT Services
Indiana University of Pennsylvania
724-357-3327


On Thu, 24 Mar 2016, John Horne wrote:

> Hello,
>
> I was wondering if it is possible to set on the authn LDAP connection a
> connection strategy similar to the LDAP data connector. That is,
> 'ROUND_ROBIN', 'RANDOM' etc. We have four LDAP servers but it seems
> that for authentication the first one is always used.
>
>
>
> Thanks,
>
> John.
>
> -- 
> John Horne                   Tel: +44 (0)1752 587287
> Plymouth University, UK
>
>
> -- 
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>


More information about the users mailing list