A MongoDB implementation for UserRepository and AuthRepository
Initialization of project and inial version of UserRepository implementation for MongoDB
Issue #1057 - added support for loading repository implementations for external jars in OSGi
#9 Updated by Andrzej Wójcik almost 4 years ago
- Status changed from New to Resolved
- % Done changed from 90 to 100
I created basic implementation of
AuthRepository in separate project, see https://projects.tigase.org/projects/tigase-mongodb
This allows us to keep dependency to MongoDB drivers separate from main code base and we might be able to fix issues which may appear in this new code faster and release new versions of this support library also faster.
To use it you need to copy compiled jar of Tigase MongoDB project and add it to
jars directory of Tigase XMPP Server installation.
It is also needed to set properly configuration to user MongoDB. Since newest version I changed repository API and implementation so
--user-db property should not be required in
etc/init.properties file. Adding following entry should configure Tigase XMPP Server to use MongoDB available at
Also in this task
MessageRepositoryIfc for MongoDB was created as it was needed to have working Tigase XMPP Server in default configuration (with AMP for storage of offline messages).