rya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mihalik (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (RYA-19) Type-o in MongoDBRyaDAO
Date Wed, 23 Dec 2015 15:16:46 GMT

     [ 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)

Mime
View raw message