[Mono-bugs] [Bug 59683][Min] Changed - Setting Context.User does not update Thread.CurrentPrincipal
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 7 Jun 2004 12:00:53 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by sebastien@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59683
--- shadow/59683 2004-06-07 11:10:10.000000000 -0400
+++ shadow/59683.tmp.17287 2004-06-07 12:00:53.000000000 -0400
@@ -1,12 +1,12 @@
Bug#: 59683
Product: Mono: Class Libraries
Version: unspecified
OS: Debian Woody
OS Details: testing
-Status: NEW
+Status: NEEDINFO
Resolution:
Severity: Unknown
Priority: Minor
Component: Sys.Web
AssignedTo: sebastien@ximian.com
ReportedBy: rainer.burgstaller@web.de
@@ -45,6 +45,17 @@
Tested with mono beta1. Did not have time to test with beta 2 yet.
------- Additional Comments From rainer.burgstaller@web.de 2004-06-07 03:32 -------
Created an attachment (id=8026)
Sample web application showing the problem with Thread.CurrentPrincipal
+
+------- Additional Comments From sebastien@ximian.com 2004-06-07 12:00 -------
+Currently HttpContext.User keeps a IPrincipal field and doesn't use
+Thread.CurrentPrincipal. This is wrong and I'll fix that.
+
+However I can't get your open sample case (did you select the file
+type when attaching) and se how you get PrincipalPermission.Demand to
+throws an exception on Debian (as it shouldn't).
+
+Could you reattach your sample (selecting the appropriate MIME type)
+and giving it a name with an extension.