* RoleManagerModule.cs, UrlAuthorizationModule.cs, FormsAuthenticationModule.cs: refactored configuration section to be a member of a class
svn path=/trunk/mcs/; revision=74728
* RolePrincipal.cs: decrypt the roles ticket properly. Makes role
caching in cookies work. Fixes bug #81117. Patch from Mike Morano
<[email protected]>
svn path=/trunk/mcs/; revision=74101
* SqlMembershipProvider.cs: Fix parameter binding to stored procedures.
CreateUser() doesn't use transactions in MS asp.net, so removed the
transaction calls.
2007-02-28 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=73522
* RolePrincipal.cs: implemented ToEncryptedTicket, implemented caching role functionality
* Roles.cs: implemented DeleteCookie, fixed CookieProtectionValue to get it's value from configuration
svn path=/trunk/mcs/; revision=73110
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.
* StaticFileHandler.cs (ProcessRequest): remove unused variable.
* HttpApplication.cs (ProcessError): Remove unused variable.
2007-01-20 Miguel de Icaza <[email protected]>
* ClientBuildManager.cs: Remove unused variable (this could be a
real problem, we never use the appPhysicalTargetDir)
* AssemblyBuilder.cs: Remove unused field.
* AppResourceFilesCollection.cs: Remove unused field.
* TemplateControlCompiler.cs (GetExpressionFromString): Remove
unused variable.
* AppResourcesCompiler.cs: Remove unused variable.
* AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
parameter.
* PageCompiler.cs: Put InternalCreatePageProperty inside the
NET_2_0 block to eliminate warnings.
2007-01-20 Miguel de Icaza <[email protected]>
* HandlerFactoryConfiguration.cs (LoadType): remove unused
variable.
(ctor): do not assign parent, we do not use it, keep the code for
reference.
2007-01-20 Miguel de Icaza <[email protected]>
* ApplicationManager.cs: Remove unused variable.
(ShutdownAll) remove unused variables.
* ApplicationHost.cs: Protect create_dir lock
2007-01-20 Miguel de Icaza <[email protected]>
* SqlRoleProvider.cs: comment out unused code.
* SqlMembershipProvider.cs: Removed unused variables.
Remove unused variable.
* AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
remove unused variable. This might be a real bug.
2007-01-20 Miguel de Icaza <[email protected]>
* SessionStateModule.cs: Removed unused variables.
2007-01-20 Miguel de Icaza <[email protected]>
* SessionDictionary.cs: Removed unused variable (dirty).
2007-01-20 Miguel de Icaza <[email protected]>
* XhtmlTextWriter.cs: comment out unused code.
* ThemeProvider.cs: comment out unused code.
* DataSourceView.cs: Comment unused variable.
* ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
code
* Control.cs: Put _templateControl inside the NET_2_0 ifdef
2007-01-20 Miguel de Icaza <[email protected]>
* HtmlHead.cs: comment out unused code, in particular metadata is
commented out because nothing could have triggered its creation.
* HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
2007-01-20 Miguel de Icaza <[email protected]>
* DataControlFieldCollection.cs (RemoveAt): remove unused
variable.
* RoleGroupCollection.cs (OnValidate): Flag as protected, as it
should not show up.
* RadioButton.cs (RaisePostDataChangedEvent): This method was not
used in 1.0, so put the whole method in 2.0
2007-01-20 Miguel de Icaza <[email protected]>
* WebPart.cs: Remove
* PersonalizableAttribute.cs: Remove extra API that was wrong as well.
2006-11-28 Miguel de Icaza <[email protected]>
* WebPart.cs:
2007-01-20 Miguel de Icaza <[email protected]>
* FileUtils.cs (CreateTemporaryFile): Remove unused variable.
svn path=/trunk/mcs/; revision=71399
* Rationalize the user of MonoTODOs.
- Removed all the TODOs that were only overwritten methods
and had no further information.
- Methods that threw exceptions now have the message "Not
implemnted".
- Methods that return some constant are declared like
that.
- Removed a bunch of stale MonoTODOs that had not been
removed.
svn path=/trunk/mcs/; revision=68620
* SqlRoleProvider.cs, SqlMembershipProvider.cs: refactored to use aspnetdb built in stored procedures,
fixed application name and membership relation,
improved exception handling
svn path=/trunk/mcs/; revision=64996
password is checked, properties MinRequiredPasswordLength and
MinRequiredNonAlphanumericCharacters are considered.
svn path=/trunk/mcs/; revision=64618
* SqlMembershipProvider.cs (GetAlg): move this here for the time
being, as it's the only class that uses it.
(HashAndBase64Encode): nuke.
(EncryptAndBase64Encode): nuke.
(Base64DecodeAndDecrypt): nuke.
(DecryptPassword): new function.
(EncryptPassword): new function.
(ChangePassword): replace the switch with a call to
EncodePassword.
(ChangePasswordQuestionAndAnswer): same.
(CreateUser): same.
(ResetPassword): same.
(ValidateUsingPassword): same.
(ValidateUsingPasswordAnswer): same.
(GetPassword): same, and throw MembershipPasswordException if the
password answer is incorrect.
* MembershipProvider.cs (InitVector): nuke this. it's actually
the salt from the database (for the sql provider, anyway).
(EncodePassword): based on the password format, password, and
salt, encode it. Makes use of EncryptPassword.
(DecodePassword): likewise for decoding, makes use of
DecryptPassword.
(DecryptPassword): revert this to throwing
NotImplementedException, as the sql provideroverrides it to
perform the actual decryption.
(EncryptPassword): same.
svn path=/trunk/mcs/; revision=60240
* SqlMembershipProvider.cs: 85% complete, maybe more. The major
functionality should work. Password retrieval (and encrypted
passwords in general) is untested.
svn path=/trunk/mcs/; revision=60190
ProviderException to match MS behavior (and fix the unit test.)
* Membership.cs (GeneratePassword): implement.
2006-05-01 Chris Toshok <[email protected]>
svn path=/trunk/mcs/; revision=60131
* SqlMembershipProvider.cs: lots more work. checking this in in
its present state because I don't want to lose it. It still needs
work.
* Membership.cs (.cctor): remove the fallback.
(ValidatingPassword): remove the MonoTODO.
* MembershipProvider.cs (DecryptPassword): implement.
(EncryptPassword): implement.
(GetAlg): helper function for Decrypt/EncryptPassword.
(InitVector): same.
* SqlMembershipProvider.cs (GeneratePassword): call
Membership.GeneratePassword with the configured minimum strength
requirements.
2006-04-27 Chris Toshok <[email protected]>
* SqlMembershipProvider.cs (UnlockUser): fix sql query, and move
the CheckPararm call to the top of the method.
svn path=/trunk/mcs/; revision=60126
* MembershipUser.cs (.ctor): per Shackow's book, all DateTime's
are converted using ToUniversalTime when passed into this class.
(UpdateSelf): update ourselves from the passed in MembershipUser,
swallowing NotSupportedExceptions.
(UpdateUser): fetch a new MembershipUser from the db and call
UpdateSelf with it.
(ChangePassword): call UpdateUser after changing the password.
(ChangePasswordQuestionAndAnswer): same.
(ResetPassword): same.
(UnlockUser): same. Also, don't explicitly set isLockedOut.
It'll be updated in UpdateSelf.
(CreationDate): getter calls ToLocalTime, setter calls
ToUniversalTime.
(LastActivityDate): same.
(LastLoginDate): same.
(LastPasswordChangedDate): same.
(LastLockoutDate): same.
* Membership.cs (.cctor): use
ProvidersHelper.InstantitateProviders, and remove some unnecessary
#if NET_2_0's.
svn path=/trunk/mcs/; revision=59361