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