IdP use of LDAP and connection pooling
Daniel Fisher
dfisher at vt.edu
Fri Sep 9 14:34:43 BST 2011
On Thu, Sep 8, 2011 at 4:18 PM, Yuji Shinozaki <ys2n at virginia.edu> wrote:
>
> So to be explicit about how these properties are specified in the configs,
> would the following configure the vt-ldap connector to retry failed
> connections three times with a wait of 300 ms between retries?
>
> <resolver:DataConnector
> id="myLDAP"
> xsi:type="LDAPDirectory" xmlns="urn:mace:shibboleth:2.0:resolver:dc"
> ldapURL="ldap://blah.blah.blah"
> baseDN="o=blah,c=US"
> principal="cn=blah,ou=blabbityblah,o=blahblah,c=US"
> principalCredential="blahblah" >
> <FilterTemplate>
> <![CDATA[
> (uid=$requestContext.principalName)
> ]]>
> </FilterTemplate>
>
> <ReturnAttributes>blah1 blah2 blah3</ReturnAttributes>
>
> <LDAPProperty name="edu.vt.middleware.ldap.operationRetry" value="3"
> />
> <LDAPProperty name="edu.vt.middleware.ldap.operationRetryWait"
> value="300" />
>
> </resolver:DataConnector>
>
>
Correct. Note that by default the only exceptions that trigger retries
are CommunicationException
and ServiceUnavailableException.
--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20110909/12b7e027/attachment.html
More information about the users
mailing list