• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

This is another question about intgration

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have already asked if it is posible integrate the forum to an existent data base who is used by a web site. Now I gonna change the situation. Can another website use the forum's database in his login request? I mean the website needs an unsername and password in order to get conneted but i wanna use the same forum's database so i skip make a new database for the website. The goal is att when the user insert his username and password (their are the same as in the forum) get connected to the website and to the forum too.
If it is posible how can I do that?
If my post is not understanding just tell me and I gonna try explain in some another way


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You would probably just need to access the JForum database during the authentication phase and check against the appropriate tables that the username and password match.

Given that the passwords are probably encrypted in the DB, you would need to know the mechanism that JForum uses for that and use the same one so you would actually compare the encripted passwords instead of the clear-text version.

Looking at the source you should be able to find which tables you need to access and the encrypting mechanism, so everything is there.

Good luck
[originally posted on jforum.net by GreenEyed]
 
bacon. tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic