Hi! I've implemented a simple custom realm that I use in Tomcat 5.0.28. But instead of doing the authentication in the authenticate method in my realm I'd like the actual authentication to be conducted by a another servlet that takes username and password as parameters. So basically what I'd like to do is to just to pass the username and password entered by the user when the "login popup window" (http basic authentication) pops up to the authentication servlet by redirecting the user to that URL with those parameters. My realm should always accept the username/password since the actual authentication takes place somewhere else. Is this possible, and in that case where do I start?
Thanks in advance, Johan