Bug report #757 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/757>

REPORT #757 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment: 
   Release: 3.2.1
   JVM Release: 1.2.1_04
   Operating System: Solaris
   OS Release: ???
   Platform: SPARC

Synopsis: 
User Principal incorrectly Maintained - Fix

Description:
Sorry, posting one more time.  I don't see the workaround I posted before being 
displayed so I've moved it to this text box.

request.getUserPrincipal().getName() doesn't return the correct user all of the time.

FIX
------
In org.apache.tomcat.core.RequestImpl, 'principal=null' needs to be added to 
initRequest().  Then it works fine.

Since setUserPrincipal() isn't being called by the authenicating realm, but 
setRemoteUser() is being called.  The old principal is never getting reset when 
authentication occurs.
Title: BugRat Report # 757

BugRat Report # 757

Project: Tomcat Release: 3.2.1
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: serious
Confidence: public

Submitter: David Winterfeldt ( [EMAIL PROTECTED] )
Date Submitted: Jan 12 2001, 01:55:45 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
User Principal incorrectly Maintained - Fix
Environment: (jvm, os, osrel, platform)
1.2.1_04, Solaris, ???, SPARC

Additional Environment Description:

Report Description:
Sorry, posting one more time. I don't see the workaround I posted before being displayed so I've moved it to this text box. request.getUserPrincipal().getName() doesn't return the correct user all of the time. FIX ------ In org.apache.tomcat.core.RequestImpl, 'principal=null' needs to be added to initRequest(). Then it works fine. Since setUserPrincipal() isn't being called by the authenicating realm, but setRemoteUser() is being called. The old principal is never getting reset when authentication occurs.

View this report online...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to