Hi,

I'm having no luck getting the cas server to do ldap auth. I keep getting this 
error:

Caused by: org.xml.sax.SAXParseException; lineNumber: 255; columnNumber: 11; 
cvc-complex-type.2.4.a: Invalid content was found starting with element 'map'. 
One of '{"http://www.springframework.org/schema/beans":meta, 
"http://www.springframework.org/schema/beans":constructor-arg, 
"http://www.springframework.org/schema/beans":property, 
"http://www.springframework.org/schema/beans":qualifier, 
"http://www.springframework.org/schema/beans":lookup-method, 
"http://www.springframework.org/schema/beans":replaced-method, 
WC[##other:"http://www.springframework.org/schema/beans"]}' is expected.

I think I'm probably putting the contextSource bean in the wrong spot or 
something, but I've tried it a few places within deployerConfigContext.xml.  
Here's the bean:

<bean id="contextSource" 
class="org.springframework.ldap.core.support.LdapContextSource">
  <property name="pooled" value="false"/>
  <property name="url" value="ldaps://ds.clarku.edu" />
  <property name="baseEnvironmentProperties" />
     <map>
        <entry key="com.sun.jndi.ldap.connect.timeout" value="3000" />
        <entry key="com.sun.jndi.ldap.read.timeout" value="3000" />
        <entry key="java.naming.security.authentication" value="simple" />
    </map>
  </property>
</bean>


What am I missing?

Thanks,

Aaron

---
Aaron Bennett
Manager of Systems Administration
Clark University ITS
W:508.793.7315


-- 
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