Question : FORM authentication in Tomcat 6 behaving like BASIC authentication

Hi, i'm trying to implement form based authentication in Tomcat 6 however when i call a protected page resource authentication behaves as if it was using 'basic' authentication i.e the usual windows username and password dialog is displayed. The web.xml elements are nothing complex but i'd be really interested in knowing how i could get better visability of what is going on i.e the redirection process to the login page etc?
The tomcat logs dont show up anything obvious either.
Annoyingly i can create a new webapp from scratch and form authentication works fine. I subsequently copied the web.xml for the new web-app almost element for element to the original webapp but still the same problem?...anyone?
Effectively i guess i'm looking specifically for ideas on how form authentication might behave like 'basic' authentication. I dont think the problem is in the web.xml as its identical to the test app that works fine!?....

Thanks in advance
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:

                    Example Security Constraint
	
	Protected Area			
	/*
	
		DELETE
		GET
		POST
		PUT
	
	
	
		standard
	

 
	
	FORM
	Example Form-Based Authentication Area
	
		/showLoginForm.jsp
		/showLoginFailure.jsp
	
	

Answer : FORM authentication in Tomcat 6 behaving like BASIC authentication

form based authentification is handled by this form:

showLoginForm.jsp


This is the core part. Around it you can decorate your windows as you like:


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
     
        
Random Solutions  
 
programming4us programming4us