David,

Check out the LDAP Authentication Handler article in the JASIG Wiki:
http://www.ja-sig.org/wiki/display/CASUM/LDAP

Basically, you can configure multiple URLs, which are attempted in the order
specified.  In the example below, you will see the "urls" property, which is
what you need.

<bean id="contextSource"
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
    <property name="pooled" value="true"/>
    <property name="urls">
        <list>
            <value>ldaps://ldap.rutgers.edu/</value>
            <value>ldaps://ldap2.rutgers.edu/</value>
        </list>
    </property>
    <property name="userName" value="{bind_username_goes_here}"/>
    <property name="password" value="{bind_user_password_goes_here}"/>
    <property name="baseEnvironmentProperties">
        <map>
            <entry>
                <key>
                    <value>java.naming.security.authentication</value>
                </key>
                <value>simple</value>
            </entry>
        </map>
    </property>
</bean>

HTH,
A-


On 7/29/08 9:50 AM, "David Whitehurst" <[EMAIL PROTECTED]> wrote:

> I'm doing a CAS installation for the Department of Transportation of
> North Carolina and I have 4 domain controllers for redundancy.  I can
> only configure one by URL in the XML configuration
> deployerConfigContext.xml.
> 
> I can probably write my own custom code to check multiple URL's or
> provide fail-over, however I thought I would ask here first.
> 
> Thanks,
> 
> David
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas

-- 
Andrew R. Feller, Analyst
Information Technology Services
200 Fred Frey Building
Louisiana State University
Baton Rouge, LA 70803
(225) 578-3737 (Office)
(225) 578-6400 (Fax)

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to