[SOLVED] Tomcat 5 and DIGEST authentication
I have been searching and searching and trying to get this running, and am running out of time and hair in which to get this done. Has anyone gotten DIGEST authentication working properly in Tomcat 5?
I understand that there is a bug within IE5/IE6 in connecting to apache DIGEST login prompts, but even Firefox will not complete authentication and gives error 401 when trying to login.
JDBC Realm defined with SHA digest inside <Engine> in server.xml
DIGEST authentication with SHA algorithm defined in <login-config> of application's web.xml with <security-container> defined encompassing application pages.
Actions and Results (using Firefox):
Can anyone shed some light on this, please?
FINALLY GOT IT!!!
The issue I was running into is a built-in filter to Tomcat 5.5 that will block any calls to the IP address of 127.0.0.1. You MUST bind your database to the actual IP address of the machine to have it seamlessly work with Tomcat 5.5.
A LONG way to go for such a simple answer! hehe
Hope this helps others, too.
|All times are GMT -5. The time now is 08:40 AM.|