tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6219] - FORM authentication does not work when using AJP connector to IIS (tested in 4.0.1 and 4.0.2b2)
Date Fri, 15 Feb 2002 00:38:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6219>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6219

FORM authentication does not work when using AJP connector to IIS (tested in 4.0.1 and 4.0.2b2)

jonathan_pierce@seagram.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From jonathan_pierce@seagram.com  2002-02-15 00:38 -------
Thanks for finding this Marcin.

I've replaced the code with the following and it seems to fix the problem. This 
looks like the same bug as #5647 and this fix seems to fix both of them.

I'll post the fix to the news group so it gets tested and added by one of the 
committers.

Replace from line 115:

// String remoteUser = ajp.remoteUser().toString();
 // if(remoteUser != null)
 //   setUserPrincipal(new Ajp13Principal(remoteUser));

String remoteUser = ajp.remoteUser().toString();
if ((remoteUser != null) && (! remoteUser.equals ("")))
        {
            setUserPrincipal(new Ajp13Principal(remoteUser));
        }
        else
        {
		 setUserPrincipal(null);
	}

-Jonathan


*** This bug has been marked as a duplicate of 5647 ***

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message