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