[Mono-bugs] [Bug 525600] New: FormsAuthentication_OnAuthenticate in Global.Asax is not called

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 27 11:36:44 EDT 2009


           Summary: FormsAuthentication_OnAuthenticate in Global.Asax is
                    not called
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: cheburator2 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=308148)
 --> (http://bugzilla.novell.com/attachment.cgi?id=308148)
Sample web site to help debug

User-Agent:       Opera/9.64 (Windows NT 5.1; U; en-GB) Presto/2.1.1

Method FormsAuthentication_OnAuthenticate in Global.asax file does not
automatically assigns to FormsAuthenticationModule.Authenticate event (it does
in .NET).

Reproducible: Always

Steps to Reproduce:
1. Unpack attached archive.
2. Run XSP for WebSite4 folder.
3. Navigate your browser to http://localhost:8080/

Actual Results:  
Output in Mono:
Auth type: Forms

Expected Results:  
Output in .NET:
Auth type: Custom

There is a workaround: you can manually assign method in overriden Init().
In Global.asax add the following code:
public override void Init()
((FormsAuthenticationModule)Modules["FormsAuthentication"]).Authenticate +=

So severity = Minor.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list