1 2006-03-23 Chris Toshok <toshok@ximian.com>
3 * DefaultAuthenticationModule.cs (OnDefaultAuthentication): always
4 set Thread.CurrentPrincipal, not just if we set it to the
7 2006-03-22 Chris Toshok <toshok@ximian.com>
9 * RoleManagerModule.cs: implement using info in Shackow's book.
11 * RolePrincipal.cs: flesh this out a bit more.
13 * DefaultAuthenticationModule.cs (OnDefaultAuthentication):
14 according to Shackow's book, this sets Thread.CurrentPrincipal as
15 well as HttpContext.Current.User.
17 2006-02-28 Chris Toshok <toshok@ximian.com>
19 * FormsAuthentication.cs: corcompare work.
21 * MembershipCreateUserException.cs: same.
23 * MembershipPasswordException.cs: same.
25 * AnonymousIdentificationModule.cs: same.
27 2006-02-01 Chris Toshok <toshok@ximian.com>
29 * FormsAuthentication.cs, Membership.cs,
30 FormsAuthenticationModule.cs, UrlAuthorizationModule.cs: oops,
31 replace GetWebApplicationSection with GetSection.
33 2006-02-01 Chris Toshok <toshok@ximian.com>
35 * FormsAuthentication.cs: CONFIGURATION_2_0 => NET_2_0.
36 simplifies the ifdef mess quite a bit.
38 * Membership.cs: same.
40 * FormsAuthenticationModule.cs: same.
42 * UrlAuthorizationModule.cs: same.
44 2006-01-04 Chris Toshok <toshok@ximian.com>
46 * FormsAuthentication.cs (Authenticate): add CONFIGURATION_2_0
53 2006-01-04 Chris Toshok <toshok@ximian.com>
55 * Membership.cs (.cctor): enable the code here under
58 2006-01-03 Chris Toshok <toshok@ximian.com>
60 * UrlAuthorizationModule.cs (OnAuthorizeRequest): add
61 CONFIGURATION_2_0 code here.
63 2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
65 * FormsAuthentication.cs: don't end the request in
66 RedirectFromLoginPage.
68 2005-12-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
70 * FormsAuthenticationModule.cs: expire the cookie. Fixes bug #77043.
71 Patch by Cyrille Colin.
73 2005-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75 * FormsAuthenticationModule.cs: ignore any exception thrown when mapping
76 the provided virtual path to the physical one. Patch by Cyrille Colin.
78 2005-11-28 Chris Toshok <toshok@ximian.com>
80 * FormsAuthenticationModule.cs (OnAuthenticateRequest):
81 CONFIGURATION_2_0 work.
84 2005-09-09 Sebastien Pouliot <sebastien@ximian.com>
86 * DefaultAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
87 * DefaultAuthenticationModule.cs: Added LinkDemand for Minimal. Added
88 Demand for UnmanagedCode on constructor.
89 * FileAuthorizationModule.cs: Added LinkDemand for Minimal. Added
90 Demand for UnmanagedCode on constructor.
91 * FormsAuthentication.cs: Added LinkDemand for Minimal.
92 * FormsAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
93 * FormsAuthenticationModule.cs: Added LinkDemand for Minimal. Added
94 Demand for UnmanagedCode on constructor.
95 * FormsAuthenticationTicket.cs: Added LinkDemand for Minimal.
96 * FormsIdentity.cs: Added LinkDemand for Minimal.
97 * PassportAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
98 * PassportAuthenticationModule.cs: Added LinkDemand for Minimal. Added
99 Demand for UnmanagedCode on constructor.
100 * PassportIdentity.cs: Added LinkDemand for Minimal. Added Demand for
101 UnmanagedCode on constructor.
102 * UrlAuthorizationModule.cs: Added LinkDemand for Minimal. Added
103 Demand for UnmanagedCode on constructor.
104 * WindowsAuthenticationEventArgs.cs: Added LinkDemand for Minimal.
105 * WindowsAuthenticationModule.cs: Added LinkDemand for Minimal. Added
106 Demand for UnmanagedCode on constructor.
108 2005-09-01 Sebastien Pouliot <sebastien@ximian.com>
110 * FormsAuthenticationEventArgs.cs: Ensure the setter for User is
111 protected by a demand for ControlPrincipal.
112 * PassportAuthenticationEventArgs.cs: Ensure the setter for User is
113 protected by a demand for ControlPrincipal.
114 * WindowsAuthenticationEventArgs.cs: Ensure the setter for User is
115 protected by a demand for ControlPrincipal.
117 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
119 * FormsAuthentication.cs: With 2.0 we can get the default properties
120 and call Initialize without a NRE.
122 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
124 * ActiveDirectoryConnectionProtection.cs: New (2.0) enum.
125 * ActiveDirectoryMembershipProvider.cs: Fixed 2.0 API.
126 * AnonymousIdentificationEventArgs.cs: Fixed AnonymousID property case.
127 * AnonymousIdentificationModule.cs: Fixed 2.0 API.
128 * FileAuthorizationModule.cs: Added static CheckFileAccessForUser in
130 * FormsAuthentication.cs: Added missing 2.0 properties with their
132 * MembershipCreateStatus.cs: Fixed enum values/names.
133 * MembershipProvider.cs: Added stub for [Decrypt|Encrypt]Password. Both
134 methods don't seems to work without an active provider.
135 * PassportIdentity.cs: Added IDispose for 2.0 profile.
136 * Roles.cs: Added missing beta2 bits and default values (which are the
137 only things working without a role provider (web.config).
138 * RolePrincipal.cs: Fixed 2.0 API. Implemented a few bits.
139 * SqlRoleProvider.cs: Fixed 2.0 API.
140 * UrlAuthorizationModule.cs: Added static CheckUrlAccessForPrincipal in
143 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
145 * MembershipUserCollection.cs: Fix exceptions.
147 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
149 * FormsAuthentication.cs: Add some 2.0 stuff required for Login*
152 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
154 * Membership.cs: Commented unworking parts of the .cctor to allow
155 testing the Login control.
156 * MembershipProviderCollection.cs: Fixed exception handling.
157 * SqlMembershipProvider.cs: Don't throw NotImplementedException
158 everywhere so Membership's .cctor (somewhat) works. Removed
159 Description property (not in beta2).
161 2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * FormsAuthentication.cs: allow hardware acceleration support if
164 available. Sebastien dixit.
166 2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * FormsAuthentication.cs: the init_vector must be the same accross
169 restarts, otherwise the cookie does not work even when a decryption
170 key is provided. Initialize it to the bytes of the cookie name. Fixes
173 2005-07-25 Eyal Alaluf <eyala@mainsoft.com>
175 * FormsAuthenticationModule.cs: Check for null config
177 2005-07-25 Miguel de Icaza <miguel@novell.com>
179 * FormsAuthentication.cs (SignOut): Force the cookie to have it
182 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
184 * FormsAuthentication.cs: my previous patch missed a "small" detail: it
185 didn't include the verification key when computing/checking the
186 validation hash. Now this is really a MAC or HMAC or...
188 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190 * FormsAuthentication.cs:
191 * FormsAuthenticationTicket.cs: added support for validation and
192 encryption of the auth. cookie and improved serialization of the ticket.
194 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
196 * Membership.cs: Read provider info from the config file.
198 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
200 * MembershipUserCollection.cs:
201 * MembershipPasswordException.cs:
202 * RoleProviderCollection.cs:
203 * ActiveDirectoryMembershipProvider.cs:
204 * SqlMembershipProvider.cs:
205 * MembershipProvider.cs:
206 * SqlRoleProvider.cs:
209 * MembershipProviderCollection.cs:
211 * RoleProvider.cs: Track api changes in ASP.NET 2.0. Implemented
212 some missing methods.
214 * AccessRoleProvider.cs:
215 * AccessMembershipProvider.cs: Removed.
217 * MembershipCreateUserException.cs:
218 * MembershipValidatePasswordEventHandler.cs:
219 * ValidatePasswordEventArgs.cs: Implemented.
221 2005-05-21 Sebastien Pouliot <sebastien@ximian.com>
223 * FormsAuthentication.cs: Hash the UTF8 representation of the password
224 strings (to be compatible with Microsoft implementation).
226 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228 * FormsAuthentication.cs:
229 * PassportAuthenticationModule.cs:
230 * WindowsAuthenticationModule.cs: removed warnings.
232 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * FormsAuthenticationModule.cs: fix for bug 73545, which caused
235 authentication not to work when the cookie was not persistent.
236 Patch by Ilya Kharmatsky (Mainsoft).
238 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240 * FormsAuthentication.cs: make the string to be stored in a config.
241 file uppercase... See bug #72557.
243 2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * FormsAuthentication.cs: fixed typo when getting the hash for the
246 password in SHA1 and MD5. Thanks to Tadas Dailyda.
247 Lock on a static object instead of typeof(FormsAuthentication).
249 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
251 * RoleProvider.cs, Roles.cs, SqlRoleProvider.cs, RoleProviderCollection.cs,
252 AccessRoleProvider.cs: IRoleProvider has been renamed to ProviderBase.
253 * IMembershipProvider.cs: Deleted.
254 * MembershipProvider.cs, AccessMembershipProvider.cs, MembershipUser.cs,
255 Membership.cs, ADMembershipProvider.cs, SqlMembershipProvider.cs
256 MembershipProviderCollection.cs: MembershipProvider has been deleted
257 and replaced by the abstract class MembershipProvider.
258 * MembershipProviderCollection.cs: Minor fixes.
259 * ADMembershipProvider.cs: Renamed to ActiveDirectoryMembershipProvider.cs.
261 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
263 * RoleProviderCollection.cs, MembershipProviderCollection.cs:
266 2004-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * FormsAuthentication.cs: patch by Jim Pease to fix the date on renewal.
270 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
272 * FormsAuthenticationModule.cs: don't renew expired cookies. Only renew
273 the cookie if SlidingExpiration is set. Thanks to Jim Pease.
275 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
277 * MembershipSortOptions.cs:
278 * MembershipPasswordFormat.cs:
279 * MembershipOnlineStatus.cs:
280 * MembershipCreateStatus.cs:
281 * CookieProtection.cs: minor modifications.
283 2004-06-12 Pedro Martnez Juli <yoros@wanadoo.es>
285 * FormsAuthentication.cs: Undo last change.
287 2004-06-12 Pedro Martnez Juli <yoros@wanadoo.es>
289 * FormsAuthentication.cs: go to loginUrl from web.config settings
290 before try with the default ones.
292 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * DefaultAuthenticationModule.cs: set the IPrincipal for this thread
295 once we have a user. Fixes bug #59683.
297 2004-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299 * FormsAuthenticationModule.cs: re-read configuration files if needed
300 when determining if forms auth. is used.
302 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
304 * FormsAuthentication.cs: added RequireSSL and SlidingExpiration.
306 2004-01-11 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
308 * PassportIdentity.cs: Added v 1.1 members
310 2003-11-25 Ben Maurer <bmaurer@users.sourceforge.net>
312 * AccessMembershipProvider.cs: New v2 file
313 * AccessRoleProvider.cs: New v2 file
314 * ADMembershipProvider.cs: New v2 file
315 * AnonymousIdentificationEventArgs.cs: New v2 file
316 * AnonymousIdentificationEventHandler.cs: New v2 file
317 * AnonymousIdentificationModule.cs: New v2 file
318 * CookieProtection.cs: New v2 file
319 * IMembershipProvider.cs: New v2 file
320 * IRoleProvider.cs: New v2 file
321 * Membership.cs: New v2 file
322 * MembershipCreateStatus.cs: New v2 file
323 * MembershipCreateUserException.cs: New v2 file
324 * MembershipOnlineStatus.cs: New v2 file
325 * MembershipPasswordException.cs: New v2 file
326 * MembershipPasswordFormat.cs: New v2 file
327 * MembershipProviderCollection.cs: New v2 file
328 * MembershipSortOptions.cs: New v2 file
329 * MembershipUser.cs: New v2 file
330 * MembershipUserCollection.cs: New v2 file
331 * RoleManagerEventArgs.cs: New v2 file
332 * RoleManagerEventHandler.cs: New v2 file
333 * RoleManagerModule.cs: New v2 file
334 * RolePrincipal.cs: New v2 file
335 * RoleProviderCollection.cs: New v2 file
336 * Roles.cs: New v2 file
337 * SqlMembershipProvider.cs: New v2 file
338 * SqlRoleProvider.cs: New v2 file
340 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * FormsAuthentication.cs: encoding updates.
344 2003-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 * FormsAuthenticationModule.cs: fixed for applications other than /.
348 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
350 * UrlAuthorizationModule.cs: fixed description for status code.
352 2003-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * FormsAuthenticationModule.cs: really renew the ticket. Thanks to
355 Jens Thiel <Jens@Thiel.DE>.
357 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
359 * UrlAuthorizationModule.cs: tell the application not to run any other
360 step apart from EndRequest.
362 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
364 * FormsAuthentication.cs: implemented RedirectFromLoginPage and
367 * FormsAuthenticationModule.cs: redirect to the login page when a 401
370 * UrlAuthorizationModule.cs: check for valid user or render error page.
372 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * DefaultAuthenticationModule.cs: implemented. It just create a default
375 unauthenticated user when no one else provided one.
377 * FormsAuthenticationModule.cs: removed debug output.
379 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
381 * FormsAuthenticationModule.cs: remove debug lines.
383 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
385 * FormsAuthentication.cs: return a null ticket when an exception is
386 thrown creating it. Implemented RenewTicketIfOld.
388 * FormsAuthenticationModule.cs: implemented event handlers for
389 AuthenticateRequest and EndRequest.
391 * FormsAuthenticationTicket.cs: implemented SetDates and Clone methods.
393 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * FormsAuthentication.cs: implemented GetAuthCookie, SetAuthCookie,
396 SignOut, FormsCookieName and FormsCookiePath.
398 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
400 * FormsAuthentication.cs: implemented Authenticate, unencrypted Encrypt
401 and Decrypt, HashPasswordForStoringInConfigFile and Initialize.
403 * FormsAuthenticationTicket.cs: set cookiePath to the default when no
406 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
408 * DefaultAuthenticationEventHandler.cs:
409 * DefaultAuthenticationModule.cs:
410 * FileAuthorizationModule.cs:
411 * FormsAuthentication.cs:
412 * FormsAuthenticationEventArgs.cs:
413 * FormsAuthenticationEventHandler.cs:
414 * FormsAuthenticationModule.cs:
415 * FormsAuthenticationTicket.cs:
417 * PassportAuthenticationEventArgs.cs:
418 * PassportAuthenticationEventHandler.cs:
419 * PassportAuthenticationModule.cs:
420 * PassportIdentity.cs:
421 * UrlAuthorizationModule.cs:
422 * WindowsAuthenticationEventArgs.cs:
423 * WindowsAuthenticationEventHandler.cs:
424 * WindowsAuthenticationModule.cs: new files. Some of them implemented,
425 some others stubbed out.
427 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
429 * DefaultAuthenticationEventArgs.cs: added file.