You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by "Aaron Mihalik (JIRA)" <ji...@apache.org> on 2015/12/23 16:16:46 UTC

[jira] [Resolved] (RYA-19) Type-o in MongoDBRyaDAO

     [ https://issues.apache.org/jira/browse/RYA-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Mihalik resolved RYA-19.
------------------------------
    Resolution: Fixed

> 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.9
>            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)