Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Documentation on MembershipProvider? View modes: 
User avatar
Member
Member
Randar Puust - 5/6/2009 10:17:08 AM
   
Documentation on MembershipProvider?
Is there any documentation on creating your own membership or roleManager for Kentico? I've tried to swap the existing CMS.MembershipProvider.CMSMembershipProvider and CMS.MembershipProvider.CMSRoleProvider with custom ones, it authenticates successfully (which I can see from the debugger), but it never really logs in. Instead of debugging through it all, I'm hoping there is some documentation that explains what other steps need to be done?

User avatar
Member
Member
martinh - 5/6/2009 10:39:17 AM
   
RE:Documentation on MembershipProvider?
Hi Randar,

To be able to login you have to have the users in the Kentico CMS’s database, you can do that manually using the UserInfoProvider and RoleInfoProvider from CMS.SiteProvider namespace. You can see the examples here: http://devnet.kentico.com/docs/devguide/managing_users.htm and here http://devnet.kentico.com/docs/devguide/managing_roles.htm

Or you can connect your own authentication handler when you authenticate against external source to do that for you: http://devnet.kentico.com/docs/devguide/security_handler.htm You shouldn’t really replace our membership provider, just connect the handler.