ChangeLog 16 KB

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