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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthentication3rd Party username/password authentication3rd Party username/password authentication
Previous
 
Next
New Post
7/28/2008 11:04 AM
 

Hello,

I'm looking to modify DNN to use a remote data source of username/password to allow a user to log into a dnn site.   The thing is that I'm only able to get username/password from the data source, not all dnn user information - like Roles (all Roles will be the same for the logins, as basic end users).

I've looked a the Provider.Membership.DNNProvider and see all the SQL calls for UserLogin(), AddUser(), etc..   this looks like the right place where this can be changed.. but it looks like my solution will be a hybrid -  tacking users in both DNN SQL and 3rd Party WS UN/PW check..

Does this sound right? I'd think this is a common scenario of DNN integration.

Thanks,

Jay

 
New Post
7/28/2008 11:25 AM
 

If you're using DNN 4.6 and up then you don't need to modify DNN at all. If you write your own authentication provider that pulls the UN/PW from your datasource then you'll just have to plug it into DNN.

I'd take a look at the current authentication providers to see which one you can use as a template. I'd think that the AD Provider is probably the closest one but there's a lot that goes on in the background that you won't need. It should give you an idea though.

 
New Post
7/28/2008 11:52 AM
 

I guess I'm not clear about how I will be able to keep the 2 systems in sync..  maintaining usernames/passwords in an external database, while not breaking the DNN side of things.

I'm guessing that I will have to have a adduser(), updateuser() on the 3rd party system to keep things in sync..  users will be able to change passwords in 2 places.. from DNN and from 3rd party site.  The DNN implementation will have to check 3rd party for correct password.

Is there no walk-through posted anywhere?

Thanks,

Jay

 
New Post
7/28/2008 2:57 PM
 

Well it depends on how you're going to going to use it. If you're going to use the 3rd party database only to authenticate against (ie: not add users who register on your DNN site into the external database) then you don't need to add users/update users on the external database. If you're going to want new users who register on your DNN site to also be added to the external database then yes you do have to work out a procedure to add/update users.

Unfortunately there isn't a walk-through posted though it is on my list of things to do. However I did see a post in another thread this morning that had links to blog entry on doing one: http://www.engagesoftware.com/Blog/EntryID/75.aspx (I haven't looked at this particular link but if the previous blog it refers to is the one I'm thinking about then some changes would have to be made for DNN 4.6 and up). There was also a link to an external database authentication package that's available for purchase (http://www.iowacomputergurus.com/products/custom-authentication-provider.aspx).

 
New Post
7/28/2008 4:22 PM
 

ok.. thanks.  I don't see the video on the link..

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthentication3rd Party username/password authentication3rd Party username/password authentication


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