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