Do you have those properties (ldap.domain, ldap.trustedCert) defined
somewhere?  Where?  How are they being read in?

It sounds more like it's not finding those values at all, rather than
the values being malformed.

In my setup, I have a file /etc/cas/ldap.properties that contains
these kinds of values, and then the file
src/main/webapp/WEB-INF/spring-configuration/propertyFileConfigurer.xml 
specifies:

<context:property-placeholder location="file:/etc/cas/ldap.properties" 
ignore-unresolvable="true" order="2" />

It sets ignore-unresolvable to true because that file specifies
multiple properties files.

Milt Epstein
Applications Developer
Graduate School of Library and Information Science (GSLIS)
University of Illinois at Urbana-Champaign (UIUC)
[email protected]


On Mon, 26 Jan 2015, Chris wrote:

> 
> I would appreciate some pointers in trying to setup CAS 4.0 with LDAP.  I 
> have the instance building with maven, deployed to tomcat, but I receive an 
> error when I modify the deployerconfigcontext.xml related to the dnResolver 
> Bean.  This is the error:
> org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean 
> definition with name 'dnResolver' defined in ServletContext resource 
> [/WEB-INF/deployerConfigContext.xml]: Could not resolve placeholder 
> 'ldap.domain' in string value "%s@${ldap.domain}"
> 
> If I try to follow this guide: 
> https://www-public.tem-tsp.eu/~procacci/dok/doku.php?id=docpublic:systemes:ssocas:cas4install#ldap_authentication_handler
> I receive a similar error: "Could not resolve placeholder 'ldap.trustedCert' 
> in string value "${ldap.trustedCert}"," but trying to remove the SSLconfig 
> beans leads me back to the %s@${ldap.domain}" error.  
> 
> 
> If I understand correctly, It is pulling the ldap.domain from the 
> cas.properties file, correct?  Does this mean that my "# Base DN of users to 
> be authenticated" string is malformed or am I looking in the wrong place 
> entirely?  
> thanks
> -- 
> 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
> 

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