Custom Form Authenticatior is not getting executed with tomcat 7
Joined: Oct 18, 2005
Custom Form Authenticatior is not getting executed with tomcat 7.
I am using the embeded tomcat in my java application.
I am setting the custom realm on engine level
Then I am adding the my custome form authenticator on the context level
StandardContext root = (StandardContext) tomcat.addWebapp(host,"/myApp","/myApp", catalinaHome + "/webapps/myApp");
CustomFormAuthenticator formAuth = new CustomFormAuthenticator ();
formAuth.setDisableProxyCaching( false );
The CustomFormAuthenticator was running in tomcat 5 , but when I upgraded to tomcat 7 , it stopped executing. I have recompiled all the classes with new tomcat libabries. And also I am using Tomcat class instead of Embedded(deprecated in tomcat 7).
Tomcat Server is getting started but the CustomFormAuthenticator is not getting executed.