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
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas