Hi, what exactly have i to change in the web.config that i have my custom membership provider ?i have already test several possibilities but with no success.always i could'nt login in the backend , and forefront login also not working too.did i also have some changes in the global.asax ?best regards axel. <!-- Umbraco Membership --> <authentication mode="Forms"> <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/"/> </authentication> <authorization> <allow users="?"/> </authorization> <!-- Membership Provider --> <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15"> <providers> <clear/> <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed"/><!-- <add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed"/>--> <add name="MyNewLibrary.Security.Membership.MyNewMembershipProvider" type="MyNewLibrary.Security.Membership.MyNewMembershipProvider" requiresQuestionAndAnswer="false" enablePasswordRetrieval="true" enablePasswordReset="true" description="Custom Membership Provider " requiresUniqueEmail="true" applicationName="/" passwordFormat="clear" userIsOnlineTimeWindow="15"/> </providers> </membership> <!-- Role Provider --> <roleManager enabled="true" defaultProvider="UmbracoRoleProvider"> <providers> <clear/> <add name="UmbracoRoleProvider" type="Umbraco.Web.Security.Providers.MembersRoleProvider"/> <add name="MyNewLibrary.MyNewRoleProvider" type="MyNewLibrary.MyNewRoleProvider"/> </providers> </roleManager>
New custom Membership Provider for Forefront
Hi, what exactly have i to change in the web.config that i have my custom membership provider ?i have already test several possibilities but with no success.always i could'nt login in the backend , and forefront login also not working too.did i also have some changes in the global.asax ?best regards axel. <!-- Umbraco Membership --> <authentication mode="Forms"> <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/"/> </authentication> <authorization> <allow users="?"/> </authorization> <!-- Membership Provider --> <membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15"> <providers> <clear/> <add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed"/><!-- <add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="4" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed"/>--> <add name="MyNewLibrary.Security.Membership.MyNewMembershipProvider" type="MyNewLibrary.Security.Membership.MyNewMembershipProvider" requiresQuestionAndAnswer="false" enablePasswordRetrieval="true" enablePasswordReset="true" description="Custom Membership Provider " requiresUniqueEmail="true" applicationName="/" passwordFormat="clear" userIsOnlineTimeWindow="15"/> </providers> </membership> <!-- Role Provider --> <roleManager enabled="true" defaultProvider="UmbracoRoleProvider"> <providers> <clear/> <add name="UmbracoRoleProvider" type="Umbraco.Web.Security.Providers.MembersRoleProvider"/> <add name="MyNewLibrary.MyNewRoleProvider" type="MyNewLibrary.MyNewRoleProvider"/> </providers> </roleManager>
Any suggestions for me to solve the problem. Axel
is working on a reply...