The new file didn't had the right extension(.java).

Victor Sterpu wrote:
I also followed this link. http://www.mail-archive.com/[email protected]/msg00308.html
I receive the same error.

Victor Sterpu wrote:
I'm new to Ant, Tomcat and CAS and I'm trying to write a new AuthenticationHandler. In fact for now I just try to use the example from the book(Server Deployment).

So I copy pasted the class UsernameLengthAuthnHandler into a file and I modified the file deployerConfigContext.xml. Now the last bean is: <bean class="org.jasig.cas.authentication.handler.support.UsernameLengthAuthnHandler" />

In enterd the directory localPlugins and run "ant jar" and "ant war", copied the file to tomcat webapps and restarted tomcat. Now tomcat reported: java.lang.ClassNotFoundException: org.jasig.cas.authentication.handler.support.UsernameLengthAuthnHandler

So I didn't placed the file UsernameLengthAuthnHandler in the right place to be found. Where should I place it to be found? I tried many locations, but without success.

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


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


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

Reply via email to