Custom MembershipProvider
Hi all,
I am trying to write a custom provider to perform a login. Simply, I will be accessing Active Directory for the authentication, and then looking at a custom table to look up the roles. (I'll likely need to create a customer Role Provider as well).
Once the person is authenticated, and based on their role, I will be directing them to enter a key fob number (if their role dictates it or not)
Please would you direct me to resources that will explain the best practices for accomplishing this? I will basically be starting from scratch.
Much appreciated!
Hello Stephen,
Sitefinity has built in LDAP membership provider
Telerik.Sitefinity.Security.Ldap.LdapMembershipProvider. If you want you can override ValidateUser and inside this method you can perform the checks and redirect the user to desired destination
Best wishes,
Ivan Dimitrov
the Telerik team