ChangeLog 17 KB

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