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