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