Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Started on Profile Provider support |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | sourceforge |
Files: | files | file ages | folders |
SHA1: |
99e919890f2bd9599bd575856a45cc04 |
User & Date: | jeffreyabecker 2006-03-02 20:24:06.000 |
Context
2006-03-09
| ||
15:21 | Code and comments cleanup check-in: a428d558a9 user: rmsimpson tags: sourceforge | |
2006-03-02
| ||
20:24 | Started on Profile Provider support check-in: 99e919890f user: jeffreyabecker tags: sourceforge | |
18:02 | 1.0.27.1 check-in: bd1f4f5d01 user: rmsimpson tags: sourceforge | |
Changes
Changes to Membership/MembershipProvider/Initialize.cs.
︙ | ︙ | |||
8 9 10 11 12 13 14 | using System.Diagnostics; using System.Web; using System.Globalization; using System.Security.Cryptography; using System.Text; using System.Web.Configuration; | < < | | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | using System.Diagnostics; using System.Web; using System.Globalization; using System.Security.Cryptography; using System.Text; using System.Web.Configuration; namespace SQLiteProvider { public sealed partial class SQLiteMembership : MembershipProvider { private bool _initialized = false; private Object _InitLock = new Object(); public override void Initialize(string name, NameValueCollection config) { bool te = _initialized; if (te) return; lock (_InitLock) { if (config == null) throw new ArgumentNullException("config"); if (name == null || name.Length == 0) |
︙ | ︙ | |||
56 57 58 59 60 61 62 | _RequiresQuestionAndAnswer = ConfigAsBoolean(config["requiresQuestionAndAnswer"], false); _RequiresUniqueEmail = ConfigAsBoolean(config["requiresUniqueEmail"], true); string temp_format = Convert.ToString(ConfigAsString(config["passwordFormat"], "Hashed")); try { | | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | _RequiresQuestionAndAnswer = ConfigAsBoolean(config["requiresQuestionAndAnswer"], false); _RequiresUniqueEmail = ConfigAsBoolean(config["requiresUniqueEmail"], true); string temp_format = Convert.ToString(ConfigAsString(config["passwordFormat"], "Hashed")); try { _PasswordFormat = (MembershipPasswordFormat)Enum.Parse(typeof(MembershipPasswordFormat), temp_format); } catch { throw new ProviderException("Invalid Password Format."); } |
︙ | ︙ |
Changes to Membership/MembershipProvider/Membership.cs.
︙ | ︙ | |||
15 16 17 18 19 20 21 | namespace SQLiteProvider { | | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | namespace SQLiteProvider { public sealed partial class SQLiteMembership : MembershipProvider { // // Global connection string, generated password length, generic exception message, event log info. // private int newPasswordLength = 8; private string eventSource = "SQLiteMembership"; private string connectionString; private bool _WriteExceptionsToEventLog; private MachineKeySection machineKey; private string _ApplicationName; private long _AppID; private bool _EnablePasswordReset; |
︙ | ︙ |
Changes to Membership/MembershipProvider/MembershipUtility.cs.
︙ | ︙ | |||
14 15 16 17 18 19 20 | namespace SQLiteProvider { | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | namespace SQLiteProvider { public sealed partial class SQLiteMembership : MembershipProvider { // // CheckPassword // Compares password values based on the MembershipPasswordFormat. // private bool CheckPassword(string password, string dbpassword) |
︙ | ︙ |
Changes to Membership/MembershipProvider/ProviderProperties.cs.
︙ | ︙ | |||
14 15 16 17 18 19 20 | namespace SQLiteProvider { | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | namespace SQLiteProvider { public sealed partial class SQLiteMembership : MembershipProvider { private Object _appLock = new Object(); public override string ApplicationName { get { return _ApplicationName; } set { |
︙ | ︙ |
Changes to Membership/RoleProvider/RoleProvider.cs.
︙ | ︙ | |||
11 12 13 14 15 16 17 | using System.Globalization; namespace SQLiteProvider { | | | | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | using System.Globalization; namespace SQLiteProvider { public sealed partial class SQLiteRole : RoleProvider { private string eventSource = "SQLiteRole"; private string connectionString; private bool _WriteExceptionsToEventLog = false; private string _ApplicationName; private long _AppID; private bool _initialized = false; |
︙ | ︙ |
Changes to Membership/SQLiteProvider.csproj.
︙ | ︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | <Reference Include="System.configuration" /> <Reference Include="System.Data" /> <Reference Include="System.Data.SQLite" /> <Reference Include="System.Web" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="Properties\Settings.Designer.cs"> <AutoGen>True</AutoGen> <DesignTimeSharedInput>True</DesignTimeSharedInput> <DependentUpon>Settings.settings</DependentUpon> </Compile> <Compile Include="SiteMap\DynamicSiteMap.cs" /> <Compile Include="SiteMap\StaticSiteMap.cs" /> | > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <Reference Include="System.configuration" /> <Reference Include="System.Data" /> <Reference Include="System.Data.SQLite" /> <Reference Include="System.Web" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="Profile\SQLiteProfile.cs" /> <Compile Include="Properties\Settings.Designer.cs"> <AutoGen>True</AutoGen> <DesignTimeSharedInput>True</DesignTimeSharedInput> <DependentUpon>Settings.settings</DependentUpon> </Compile> <Compile Include="SiteMap\DynamicSiteMap.cs" /> <Compile Include="SiteMap\StaticSiteMap.cs" /> |
︙ | ︙ |
Changes to Membership/SQLiteProvider.suo.
cannot compute difference between binary files
Changes to Membership/Sql/Schema.sql.
︙ | ︙ | |||
51 52 53 54 55 56 57 | Create Table SiteMapNodeRoles( NodeID integer NOT NULL, RoleID integer NOT NULL, AppID integer NOT NULL ); | | | | | | | | | | | | | | | | < < < < < < | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | Create Table SiteMapNodeRoles( NodeID integer NOT NULL, RoleID integer NOT NULL, AppID integer NOT NULL ); Create Table Profile( ProfileID INTEGER PRIMARY KEY, UserName text NOT NULL, AppID integer NOT NULL, LastUpdatedDate Datetime, LastActivityDate Datetime ); Create Table ProfileData( ItemID INTEGER PRIMARY KEY, ProfileID integer NOT NULL, ItemData BLOB, ItemName text NOT NULL, ItemFormat text NOT NULL ); |