Merge branch 'cecil-light'
[mono.git] / mcs / class / System.Web / Test / standalone / EnableFormsAuthentication / Test_03 / Tests / PreStart.cs
1 using System;
2 using System.Web;
3 using System.Web.Security;
4 using System.Collections.Specialized;
5
6 namespace Test_03.Tests
7 {
8         public class PreStart
9         {
10                 public static void FormsAuthenticationSetUp ()
11                 {
12                         var nvc = new NameValueCollection ();
13
14                         nvc.Add ("loginUrl", "/myLogin.aspx");
15                         nvc.Add ("defaultUrl", "/myDefault.aspx");
16
17                         FormsAuthentication.EnableFormsAuthentication (nvc);
18                 }
19         }
20 }