Integrating site user database with Jive User DB

Hi All,

I am developing a community site which has its own database of users and its own sign-in methods… and its being developed using PHP.

Can anyone please guide me with integrating both the site code with Jive Server.

My assumption to this is that when a user gets created on the site, I will have to write a code to populate users table of the Jive Server with the same password. In short the Jive Server users database should always be in-sync with my site database. Also, can anyone guide me on how to communicate between PHP and Jive?

Sunil

Hi Sunil,

My assumption to this is that when a user gets created on the site,

I will have to write a code to populate users table of the Jive Server

with the same password. In short the Jive Server users database

should always be in-sync with my site database.

Actually, what you’'ll want to do is write custom UserProvider and AuthProvider classes to provide that sort of functionality so you can just have Messenger use your existing user tables. A few examples of each are provided with the Messenger source. For the AuthProvider interface there is DefaultAuthProvider, LdapAuthProvider, NativeAuthProvider and POP3AuthProvider, and for the UserProvider interface there is the DefaultUserProvider and LdapUserProvider.

Also, can anyone guide me on how to communicate between PHP and Jive?

What sort of communication did you want to do?

Thanks,

Ryan