MyBindLdapAuthenticationHandler new property
wadii
wadii_a at yahoo.fr
Mon Nov 3 04:37:48 EST 2008
Hello,
I want to add a new property to my authentification handler I define a new variable with get and set fonctions and in deployerConfigContex.xml
<bean class="org.jasig.cas.adaptors.ldap.MyBindLdapAuthenticationHandler">
<property name="filter" value="uid=%u" />
<property name="searchBase" value="ou=Users,ou=Extranet,dc=devel-atih,dc=sante,dc=fr" />
<property name="scope" value="2" />
<property name="cryptype" value="0" />
<property name="contextSource" ref="contextSource" />
</bean>
I can not deploy my cas server and get this exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in ServletContext resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationManager' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean 'org.jasig.cas.adaptors.ldap.EpmsiBindLdapAuthenticationHandler#34bb22' of type [org.jasig.cas.adaptors.ldap.EpmsiBindLdapAuthenticationHandler] while setting bean property 'authenticationHandlers' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.jasig.cas.adaptors.ldap.EpmsiBindLdapAuthenticationHandler#34bb22' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'cryptype' of bean class [org.jasig.cas.adaptors.ldap.EpmsiBindLdapAuthenticationHandler]: No property 'cryptype' found
Any idea?
regards.
Wadii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081103/a60d96db/attachment.html
More information about the cas
mailing list