* Membership.cs:
* Roles.cs:
if default provider was not found ConfigurationErrorsException is thrown.
2007-04-17 Igor Zelmanovich <[email protected]>
* ProfileManager.cs:
if default provider was not found ConfigurationErrorsException is thrown.
svn path=/trunk/mcs/; revision=75832
* 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
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
* RoleProvider.cs, Roles.cs, SqlRoleProvider.cs, RoleProviderCollection.cs,
AccessRoleProvider.cs: IRoleProvider has been renamed to ProviderBase.
* IMembershipProvider.cs: Deleted.
* MembershipProvider.cs, AccessMembershipProvider.cs, MembershipUser.cs,
Membership.cs, ADMembershipProvider.cs, SqlMembershipProvider.cs
MembershipProviderCollection.cs: MembershipProvider has been deleted
and replaced by the abstract class MembershipProvider.
* MembershipProviderCollection.cs: Minor fixes.
* ADMembershipProvider.cs: Renamed to ActiveDirectoryMembershipProvider.cs.
svn path=/trunk/mcs/; revision=36274