Bug 50771

Summary: HttpServletRequest#getAuthType() returns null though the request is authenticated.
Product: Tomcat 5 Reporter: Keiichi Fujino <kfujino>
Component: Catalina:ClusterAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 5.5.33   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: I made a patch.
patch against tc60.
patch against tc55.

Description Keiichi Fujino 2011-02-14 03:30:02 UTC
Created attachment 26648 [details]
I made a patch.

When Tomcat registers an authenticated Principal and authentication Type with current session, 
only authenticated Principal is replicated, and authentication Type is not replicated.
Therefore, Request#getAuthType() returns null though the request is authenticated when the node changed. 


Best Regards.
Comment 1 Keiichi Fujino 2011-02-14 03:54:17 UTC
Fixed in 7.0.x and will be in 7.0.9 onwards.

Proposed for 6.0.x and 5.5.x
Comment 2 Keiichi Fujino 2011-02-14 04:54:31 UTC
Created attachment 26649 [details]
patch against tc60.
Comment 3 Keiichi Fujino 2011-02-14 04:55:07 UTC
Created attachment 26650 [details]
patch against tc55.
Comment 4 Keiichi Fujino 2011-08-03 01:36:50 UTC
Fixed in 6.0.x and will be in 6.0.33 onwards.
Comment 5 Mark Thomas 2011-08-16 12:37:46 UTC
This has been fixed in 5.5.x and will be included in 5.5.34 onwards.