[ 
https://issues.apache.org/jira/browse/RYA-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061439#comment-15061439
 ] 

ASF GitHub Bot commented on RYA-19:
-----------------------------------

Github user pujav65 closed the pull request at:

    https://github.com/apache/incubator-rya/pull/5


> 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
>            Assignee: Puja Valiyil 
>
> 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)

Reply via email to