powered by Jive Software

Store users in another DB


#1

Hi everyone,

I was wondering if it is possible to store Openfire users scheme in one database and the messages scheme in another one, I don’t mean to user an LDAP or an external user database, I mean to keep the same users/groups schema that Openfire has but store it in a separate DB from the messages.

I found this document regarding separate authentication but I’m not entirely sure it is what I intent to accomplish.

Any comment will be appreciated.

Best regards.


#2

Take a look at org.jivesoftware.openfire.user.JDBCUserProvider - instructions for use in the comments at https://github.com/igniterealtime/Openfire/blob/master/src/java/org/jivesoftware/openfire/user/JDBCUserProvider.java

If that doesn’t do what you need, use it as a basis for what you want and adjust accordingly.

Greg


#3

Thanks Greg, so the document I linked in the first post is the right path, I will work from this class forward.

Cheers!