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