+2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * list: added new files in System.Web.Security
+
2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* list: added HorizontalAlignConverter and VerticalAlignConverter.
+2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * DefaultAuthenticationEventHandler.cs:
+ * DefaultAuthenticationModule.cs:
+ * FileAuthorizationModule.cs:
+ * FormsAuthentication.cs:
+ * FormsAuthenticationEventArgs.cs:
+ * FormsAuthenticationEventHandler.cs:
+ * FormsAuthenticationModule.cs:
+ * FormsAuthenticationTicket.cs:
+ * FormsIdentity.cs:
+ * PassportAuthenticationEventArgs.cs:
+ * PassportAuthenticationEventHandler.cs:
+ * PassportAuthenticationModule.cs:
+ * PassportIdentity.cs:
+ * UrlAuthorizationModule.cs:
+ * WindowsAuthenticationEventArgs.cs:
+ * WindowsAuthenticationEventHandler.cs:
+ * WindowsAuthenticationModule.cs: new files. Some of them implemented,
+ some others stubbed out.
+
2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultAuthenticationEventArgs.cs: added file.
--- /dev/null
+//
+// System.Web.Security.DefaultAuthenticationEventHandler
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+namespace System.Web.Security
+{
+ public delegate void DefaultAuthenticationEventHandler (object sender,
+ DefaultAuthenticationEventArgs e);
+}
+
--- /dev/null
+//
+// System.Web.Security.DefaultAuthenticationModule
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class DefaultAuthenticationModule : IHttpModule
+ {
+ public event DefaultAuthenticationEventHandler Authenticate;
+
+ public void Dispose ()
+ {
+ }
+
+ [MonoTODO]
+ public void Init (HttpApplication app)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.FileAuthorizationModule
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class FileAuthorizationModule : IHttpModule
+ {
+ public void Dispose ()
+ {
+ }
+
+ [MonoTODO]
+ public void Init (HttpApplication app)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.FormsAuthentication
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class FormsAuthentication
+ {
+ [MonoTODO]
+ public static bool Authenticate (string name, string password)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static FormsAuthenticationTicket Decrypt (string encryptedTicket)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string Encrypt (FormsAuthenticationTicket ticket)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static HttpCookie GetAuthCookie (string userName, bool createPersistentCookie)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static HttpCookie GetAuthCookie (string userName, bool createPersistentCookie, string strCookiePath)
+ {
+ throw new NotImplementedException ();
+ }
+ [MonoTODO]
+ public static string GetRedirectUrl (string userName, bool createPersistentCookie)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string HashPasswordForStoringInConfigFile (string password, string passwordFormat)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void Initialize ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void RedirectFromLoginPage (string userName, bool createPersistentCookie)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void RedirectFromLoginPage (string userName, bool createPersistentCookie, string strCookiePath)
+ {
+ throw new NotImplementedException ();
+ }
+ [MonoTODO]
+ public static FormsAuthenticationTicket RenewTicketIfOld (FormsAuthenticationTicket tOld)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void SetAuthCookie (string userName, bool createPersistentCookie)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void SetAuthCookie (string userName, bool createPersistentCookie, string strCookiePath)
+ {
+ throw new NotImplementedException ();
+ }
+ [MonoTODO]
+ public static void SignOut ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string FormsCookieName
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public static string FormsCookiePath
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.FormsAuthenticationEventArgs
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Security.Principal;
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class FormsAuthenticationEventArgs : EventArgs
+ {
+ IPrincipal user;
+ HttpContext context;
+
+ public FormsAuthenticationEventArgs (HttpContext context)
+ {
+ this.context = context;
+ }
+
+ public HttpContext Context
+ {
+ get {
+ return context;
+ }
+ }
+
+ public IPrincipal User
+ {
+ get {
+ return user;
+ }
+
+ set {
+ user = value;
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.FormsAuthenticationEventHandler
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+namespace System.Web.Security
+{
+ public delegate void FormsAuthenticationEventHandler (object sender, FormsAuthenticationEventArgs e);
+}
+
--- /dev/null
+//
+// System.Web.Security.FormsAuthenticationModule
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class FormsAuthenticationModule : IHttpModule
+ {
+ public event FormsAuthenticationEventHandler Authenticate;
+
+ public void Dispose ()
+ {
+ }
+
+ [MonoTODO]
+ public void Init (HttpApplication app)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.FormsAuthenticationTicket
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+
+namespace System.Web.Security
+{
+ [Serializable]
+ public sealed class FormsAuthenticationTicket
+ {
+ int version;
+ string name;
+ DateTime issueDate;
+ DateTime expiration;
+ bool isPersistent;
+ string userData;
+ string cookiePath;
+
+ public FormsAuthenticationTicket (int version,
+ string name,
+ DateTime issueDate,
+ DateTime expiration,
+ bool isPersistent,
+ string userData)
+ {
+ this.version = version;
+ this.name = name;
+ this.issueDate = issueDate;
+ this.expiration = expiration;
+ this.isPersistent = isPersistent;
+ this.userData = userData;
+ //FIXME: cookiePath???
+ }
+
+ public FormsAuthenticationTicket (int version,
+ string name,
+ DateTime issueDate,
+ DateTime expiration,
+ bool isPersistent,
+ string userData,
+ string cookiePath)
+ {
+ this.version = version;
+ this.name = name;
+ this.issueDate = issueDate;
+ this.expiration = expiration;
+ this.isPersistent = isPersistent;
+ this.userData = userData;
+ this.cookiePath = cookiePath;
+ }
+
+ public FormsAuthenticationTicket (string name, bool isPersistent, int timeout)
+ {
+ this.version = 1;
+ this.name = name;
+ this.issueDate = DateTime.Now;
+ this.isPersistent = isPersistent;
+ if (isPersistent)
+ expiration = issueDate.AddYears (50);
+ else
+ expiration = issueDate.AddMinutes ((double) timeout);
+
+ this.userData = String.Empty;
+ //FIXME: cookiePath???
+ }
+
+ public string CookiePath
+ {
+ get {
+ return cookiePath;
+ }
+ }
+
+ public DateTime Expiration
+ {
+ get {
+ return expiration;
+ }
+ }
+
+ public bool Expired
+ {
+ get {
+ return DateTime.Now > expiration;
+ }
+ }
+
+ public bool IsPersistent
+ {
+ get {
+ return isPersistent;
+ }
+ }
+
+ public DateTime IssueDate
+ {
+ get {
+ return issueDate;
+ }
+ }
+
+ public string Name
+ {
+ get {
+ return name;
+ }
+ }
+
+ public string UserData
+ {
+ get {
+ return userData;
+ }
+ }
+
+ public int Version
+ {
+ get {
+ return version;
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.FormsIdentity
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Security.Principal;
+
+namespace System.Web.Security
+{
+ [Serializable]
+ public sealed class FormsIdentity : IIdentity
+ {
+ FormsAuthenticationTicket ticket;
+
+ public FormsIdentity (FormsAuthenticationTicket ticket)
+ {
+ this.ticket = ticket;
+ }
+
+ public string AuthenticationType
+ {
+ get {
+ return "Forms";
+ }
+ }
+
+ public bool IsAuthenticated
+ {
+ get {
+ return true;
+ }
+ }
+
+ public string Name
+ {
+ get {
+ return ticket.Name;
+ }
+ }
+
+ public FormsAuthenticationTicket Ticket
+ {
+ get {
+ return ticket;
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.PassportAuthenticationEventArgs
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Security.Principal;
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class PassportAuthenticationEventArgs : EventArgs
+ {
+ PassportIdentity identity;
+ HttpContext context;
+ IPrincipal user;
+
+ public PassportAuthenticationEventArgs (PassportIdentity identity, HttpContext context)
+ {
+ this.identity = identity;
+ this.context = context;
+ }
+
+ public HttpContext Context
+ {
+ get {
+ return context;
+ }
+ }
+
+ public PassportIdentity Identity
+ {
+ get {
+ return identity;
+ }
+ }
+
+ public IPrincipal User
+ {
+ get {
+ return user;
+ }
+
+ set {
+ user = value;
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.PassportAuthenticationEventHandler
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+namespace System.Web.Security
+{
+ public delegate void PassportAuthenticationEventHandler (object sender,
+ PassportAuthenticationEventArgs e);
+}
+
--- /dev/null
+//
+// System.Web.Security.PassportAuthenticationModule
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class PassportAuthenticationModule : IHttpModule
+ {
+ public event PassportAuthenticationEventHandler Authenticate;
+
+ public void Dispose ()
+ {
+ }
+
+ [MonoTODO("Will we ever implement this? :-)")]
+ public void Init (HttpApplication app)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.PassportIdentity
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Security.Principal;
+
+namespace System.Web.Security
+{
+ public sealed class PassportIdentity : IIdentity
+ {
+ [MonoTODO]
+ public PassportIdentity ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ ~PassportIdentity ()
+ {
+ }
+
+ [MonoTODO]
+ public string AuthUrl ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string AuthUrl (string strReturnUrl,
+ int iTimeWindow,
+ bool fForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ bool bUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string AuthUrl (string strReturnUrl,
+ int iTimeWindow,
+ int iForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ int iUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string AuthUrl2 ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string AuthUrl2 (string strReturnUrl,
+ int iTimeWindow,
+ bool fForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ bool bUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string AuthUrl2 (string strReturnUrl,
+ int iTimeWindow,
+ int iForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ int iUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string Compress (string strData)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static bool CryptIsValid ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static int CryptPutHost (string strHost)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static int CryptPutSite (string strSite)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string Decompress (string strData)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string Decrypt (string strData)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static string Encrypt (string strData)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public object GetCurrentConfig (string strAttribute)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string GetDomainAttribute (string strAttribute, int iLCID, string strDomain)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string GetDomainFromMemberName (string strMemberName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool GetIsAuthenticated (int iTimeWindow, bool bForceLogin, bool bCheckSecure)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool GetIsAuthenticated (int iTimeWindow, int iForceLogin, int iCheckSecure)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string GetLoginChallenge ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string GetLoginChallenge (string szRetURL,
+ int iTimeWindow,
+ int fForceLogin,
+ string szCOBrandArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ int iUseSecureAuth,
+ object oExtraParams)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public object GetOption (string strOpt)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public object GetProfileObject (string strProfileName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool HasFlag (int iFlagMask)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool HasProfile (string strProfile)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public bool HaveConsent (bool bNeedFullConsent, bool bNeedBirthdate)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public int LoginUser ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public int LoginUser (string szRetURL,
+ int iTimeWindow,
+ bool fForceLogin,
+ string szCOBrandArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ bool fUseSecureAuth,
+ object oExtraParams)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public int LoginUser (string szRetURL,
+ int iTimeWindow,
+ int fForceLogin,
+ string szCOBrandArgs,
+ int iLangID,
+ string strNameSpace,
+ int iKPP,
+ int iUseSecureAuth,
+ object oExtraParams)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoTag ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoTag (string strReturnUrl,
+ int iTimeWindow,
+ bool fForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ bool fSecure,
+ string strNameSpace,
+ int iKPP,
+ bool bUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoTag (string strReturnUrl,
+ int iTimeWindow,
+ int iForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ int iSecure,
+ string strNameSpace,
+ int iKPP,
+ int iUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoTag2 ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoTag2 (string strReturnUrl,
+ int iTimeWindow,
+ bool fForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ bool fSecure,
+ string strNameSpace,
+ int iKPP,
+ bool bUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoTag2 (string strReturnUrl,
+ int iTimeWindow,
+ int iForceLogin,
+ string strCoBrandedArgs,
+ int iLangID,
+ int iSecure,
+ string strNameSpace,
+ int iKPP,
+ int iUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoutURL ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string LogoutURL (string szReturnURL,
+ string szCOBrandArgs,
+ int iLangID,
+ string strDomain,
+ int iUseSecureAuth)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void SetOption (string strOpt, object vOpt)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static void SignOut (string strSignOutDotGifFileName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public object Ticket (string strAttribute)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public string AuthenticationType
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public int Error
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public bool GetFromNetworkServer
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public bool HasSavedPassword
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public bool HasTicket
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public string HexPUID
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public bool IsAuthenticated
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public string this [string strProfileName]
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public string Name
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public int TicketAge
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ [MonoTODO]
+ public int TimeSinceSignIn
+ {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.UrlAuthorizationModule
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Web;
+using System.Security.Principal;
+
+namespace System.Web.Security
+{
+ public sealed class UrlAuthorizationModule : IHttpModule
+ {
+ public UrlAuthorizationModule ()
+ {
+ }
+
+ public void Dispose ()
+ {
+ }
+
+ [MonoTODO]
+ public void Init (HttpApplication app)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.WindowsAuthenticationEventArgs
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Security.Principal;
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class WindowsAuthenticationEventArgs : EventArgs
+ {
+ WindowsIdentity identity;
+ HttpContext context;
+ IPrincipal user;
+
+ public WindowsAuthenticationEventArgs (WindowsIdentity identity, HttpContext context)
+ {
+ this.identity = identity;
+ this.context = context;
+ }
+
+ public System.Web.HttpContext Context
+ {
+ get {
+ return context;
+ }
+ }
+
+ public WindowsIdentity Identity
+ {
+ get {
+ return identity;
+ }
+ }
+
+ public IPrincipal User
+ {
+ get {
+ return user;
+ }
+
+ set {
+ user = value;
+ }
+ }
+ }
+}
+
--- /dev/null
+//
+// System.Web.Security.WindowsAuthenticationEventHandler
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+namespace System.Web.Security
+{
+ public delegate void WindowsAuthenticationEventHandler (object sender,
+ WindowsAuthenticationEventArgs e);
+}
+
--- /dev/null
+//
+// System.Web.Security.WindowsAuthenticationModule
+//
+// Authors:
+// Gonzalo Paniagua Javier (gonzalo@ximian.com)
+//
+// (C) 2002 Ximian, Inc (http://www.ximian.com)
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.Security
+{
+ public sealed class WindowsAuthenticationModule : IHttpModule
+ {
+ public event WindowsAuthenticationEventHandler Authenticate;
+
+ public WindowsAuthenticationModule ()
+ {
+ }
+
+ public void Dispose ()
+ {
+ }
+
+ [MonoTODO]
+ public void Init (HttpApplication app)
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+
System.Web.Util/WebEqualComparer.cs
System.Web.Util/WebHashCodeProvider.cs
System.Web.Security/DefaultAuthenticationEventArgs.cs
+System.Web.Security/DefaultAuthenticationEventArgs.cs
+System.Web.Security/DefaultAuthenticationEventHandler.cs
+System.Web.Security/DefaultAuthenticationModule.cs
+System.Web.Security/FileAuthorizationModule.cs
+System.Web.Security/FormsAuthentication.cs
+System.Web.Security/FormsAuthenticationEventArgs.cs
+System.Web.Security/FormsAuthenticationEventHandler.cs
+System.Web.Security/FormsAuthenticationModule.cs
+System.Web.Security/FormsAuthenticationTicket.cs
+System.Web.Security/FormsIdentity.cs
+System.Web.Security/PassportAuthenticationEventArgs.cs
+System.Web.Security/PassportAuthenticationEventHandler.cs
+System.Web.Security/PassportAuthenticationModule.cs
+System.Web.Security/PassportIdentity.cs
+System.Web.Security/UrlAuthorizationModule.cs
+System.Web.Security/WindowsAuthenticationEventArgs.cs
+System.Web.Security/WindowsAuthenticationEventHandler.cs
+System.Web.Security/WindowsAuthenticationModule.cs
System.Web.SessionState/HttpSessionState.cs
System.Web.SessionState/IReadOnlySessionState.cs
System.Web.SessionState/IRequiresSessionState.cs