|
Hi Pavol, thanks for getting in touch!
The MongoDB dialect definitely does work with a secured database, only that particular integration test doesn't expose a way for specifying the credentials atm. (the env variables MONGODB_USERNAME and MONGODB_PASSWORD are not evaluated, only host and port can be specified that way). Maybe you would interested in creating a pull request which makes user name and password configurable via env variables as well?
Btw. as a workaround, you can specify these settings as system properties (-Dhibernate.ogm.datastore. {username|password}
=...); I guess in the case of the integration test they would have to be specified via src/test/resources/arquillian.xml. Or you add a file named hibernate.properties with these props to your classpath.
|