Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to create a custom LoginHow to create a custom Login
Previous
 
Next
New Post
9/25/2006 10:07 AM
 
Hello, people!

Help me, please!
I want to write a custom login module and i want to solve this problems in my module:
1. Users login in Corporate System using specified UserName and Password.
2. User information are stored in corporate system and i want to use it.
3. Use a DNN Roles and other to administrate site.

It is possible ?
Sorry for my English :-)
 
New Post
9/25/2006 12:29 PM
 
Sure it's possible. We actually just a membership provider to do the same process for a client here at the office.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
9/25/2006 2:14 PM
 

If you are going to be using DNN 4.3.x / ASP.NET 2.0 you can create your own implementation of the MembershipProvider (DNN's version) to access users in a data store other than the default ASP.NET Membership tables. If your other data store contains the "equivalent" of roles then you can also sync the roles with DNN using a custom job.

 


Henry Kenuam
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom module development
 
New Post
9/26/2006 1:42 AM
 
Where can i read about MembershipProvider (DNN's version) and ASP.NET Membership tables ?
 
New Post
9/26/2006 11:09 AM
 

There are tons of sites with information about the ASP.NET Membership Provider and related membership tables. Here is a link to a pretty good article: http://www.devx.com/asp/Article/29256/1954?pf=true

This example demonstrates how to create your own membership provider for ASP.NET by extended the default SQLMembershipProvider and overriding some methods to provide your own behavior. This should get you famliar with the concepts.

A couple of things to keep in mind if you attempt to build your own provider for DNN. The Core Team decided not to extend Microsoft's MembershipProvider in 4.3.x and to create their own version located in the DotnetNuke.Security.Membership namespace. This is the class that your new implementation would extend and replace the AspNetMembershipProvider. One other thing that you will notice is that DNN's implemention of the "provider" model is not as pure you might expect. Their AspNetMembershipProvider has overlapping behavior within various methods which will force you to implement in your version. I'm hoping that future versions of their provider model seperates the DNN User table logic into a concrete class/methods that could be extended and then "added" onto by the custom implementation.

Hope that helps you get started.


Henry Kenuam
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom module development
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to create a custom LoginHow to create a custom Login


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out