Jeff Dasch created RYA-19:
-----------------------------
Summary: Type-o in MongoDBRyaDAO
Key: RYA-19
URL: https://issues.apache.org/jira/browse/RYA-19
Project: Rya
Issue Type: Bug
Components: dao
Affects Versions: 3.2.10
Reporter: Jeff Dasch
Prevents a user from authenticating unless their password and db_name are the
same.
At MongoDBRyaDAO.java:95
Bug:
MongoCredential cred = MongoCredential.createCredential(
conf.get(MongoDBRdfConfiguration.MONGO_USER),
conf.get(MongoDBRdfConfiguration.MONGO_USER_PASSWORD),
conf.get(MongoDBRdfConfiguration.MONGO_DB_NAME).toCharArray());
Fix:
MongoCredential cred = MongoCredential.createCredential(
conf.get(MongoDBRdfConfiguration.MONGO_USER),
conf.get(MongoDBRdfConfiguration.MONGO_DB_NAME),
conf.get(MongoDBRdfConfiguration.MONGO_USER_PASSWORD).toCharArray());
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)