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