I have a situation to have a customized exception thrown while catching
NamingException in AuthenticatedLdapContextSource!! But it didn't seem like
it can be overlaid so I renamed the file and package and customized the
deployerConfigContext.xml entry as follows.

<bean id="contextSource" class="
my.test.cas.adaptors.ldap.util.AuthenticatedLdapContextSourceOID">

but I'm getting the following exception

*org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [
my.test.cas.adaptors.ldap.util.AuthenticatedLdapContextSourceOID] to
required type [
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] for
property 'contextSource';

nested exception is java.lang.IllegalArgumentException: Cannot convert value
of type [com.cerner.cas.adaptors.ldap.util.AuthenticatedLdapContextSourceOID]
to required type [
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] for
property 'contextSource':
no matching editors or conversion strategy found

Caused by: java.lang.IllegalArgumentException: Cannot convert value of type
[com.cerner.cas.adaptors.ldap.util.AuthenticatedLdapContextSourceOID] to
required type [
org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] for
property 'contextSource':
no matching editors or conversion strategy found

*Could you help me in this.

Is the contextSource customizable? If yes, what part did I do wrong or
missing?
If no, is there ways around it.

Thanks for your help!

Sam
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to