You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by "Jeff Dasch (JIRA)" <ji...@apache.org> on 2015/12/16 14:42:46 UTC
[jira] [Created] (RYA-19) Type-o in MongoDBRyaDAO
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)