This JavaDoc should help:
http://developer.jasig.org/projects/person-directory/1.5.0-RC6/apidocs/org/jasig/services/persondir/support/ldap/LdapPersonAttributeDao.html

Cheers,
Scott

On Thu, Oct 15, 2009 at 10:23 AM, Pavlos Drandakis <[email protected]>wrote:

> Hi all,
>
> I am trying to deploy CAS server 3.3.4 using my old (CAS 3.3.3)
> deployerConfigContext.xml but I am getting these exceptions:
>
> Error creating bean with name 'attributeRepository' defined in
> ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Error setting
> property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'query' of bean class
> [org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao]: Bean
> property 'query' is not writable or has an invalid setter method. Does the
> parameter type of the setter match the return type of the getter?
>
> Error creating bean with name 'attributeRepository' defined in
> ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Error setting
> property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'ldapAttributesToPortalAttributes' of bean class
> [org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao]: Bean
> property 'ldapAttributesToPortalAttributes' is not writable or has an
> invalid setter method. Does the parameter type of the setter match the
> return type of the getter?
>
> This is what I have in my deployerConfigContext.xml about
> attributeRepository:
>
> <bean id="attributeRepository"
> class="org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao">
>               <property name="baseDN" value="dc=X,dc=Y" />
>               <property name="query" value="(uid={0})" />
>               <property name="contextSource" ref="contextSource"/>
>               <property name="ldapAttributesToPortalAttributes">
>                       <map>
>                               <entry key="attribute1" value="attribute1" />
>                       </map>
>               </property>
> </bean>
>
>
> As far as I can tell, this happens because of the new Person Directory API,
> that is used in this release... If true, what should be the appropriate
> configuration for attributeRepository bean?
>
> Thanks,
> Pavlos
>
> --
> 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