• 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

Storing jforum user outside jforum database

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i would like that jforum reads users from a webservice and store it throw other webservice instead of doing it on the jforum database.

Basically i want that jforum users are replicated in other source than the jforum database for having some data relative to jforum available for other applications.

The legacy applications only know how to read data from this webservice and this webservice can not access jforum database.

Is that possible with jforum?

Thanks in advance
[originally posted on jforum.net by dloureiro]
 
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
The easiest method is look at the SSO documentation/posts here and create a custom SSO implementation class. With this method, you still have entries in the jforum_users table and what you're trying to do with the SSO code is to keep it updated with info from your "Master" authentication info.

A more complex (and more coding) way is to look at modifying the underlying Data Access Objects (DAO classes) so that the jForum user entity object fields that map to your master authentication source's info (e.g. username, e-mail, name, and the like) are populated and stored there.
[originally posted on jforum.net by monroe]
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic