Project

General

Profile

MongoDB autoCreateUser option

E A
Added almost 4 years ago

Hi Guys,

Looks like mongo does not support this option, can you confirm?

Scenario:

Auth DB - Custom - Mysql

User DB - Tigase - MongoDB

Connection String:

--user-db-uri="mongodb://x.x.x.x/tigase?autoCreateUser=true&useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8"

2015-04-20 09:16:34.952 [main] MongoClientURI.warnOnUnsupportedOptions() WARNING: Unknown or Unsupported Option 'charactersetresults'

2015-04-20 09:16:34.983 [main] MongoClientURI.warnOnUnsupportedOptions() WARNING: Unknown or Unsupported Option 'characterencoding'

2015-04-20 09:16:34.983 [main] MongoClientURI.warnOnUnsupportedOptions() WARNING: Unknown or Unsupported Option 'autocreateuser'

2015-04-20 09:16:34.983 [main] MongoClientURI.warnOnUnsupportedOptions() WARNING: Unknown or Unsupported Option 'useunicode'

Please advise if there is a workaround.

Currently - since migrating to Mongo I don't have any users in my tig_users table / collection.

Many Thanks,


Replies (3)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Thank you. I've created the issue #3001 to add this feature.

Added by E A almost 4 years ago

Thank you Wojciech,

Any estimate that you can provide on this being available will be very helpful.

Thanks again

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

No estimate yet.

    (1-3/3)