Summary
Error if URI has username and no password for MONGODB-AWS
Background & Motivation
Tests for the MONGODB-AWS auth mechanism were added in SPEC-1515 but missed when implementing MONGODB-AWS.
The following MONGODB-AWS test fails:
{
"description": "should throw an exception if username and no password (MONGODB-AWS)",
"uri": "mongodb://user@localhost/?authMechanism=MONGODB-AWS",
"valid": false,
"credential": null
}
The expected error is not returned. As a workaround, this test is planned to be skipped (search code for this ticket number).
- is related to
-
CDRIVER-5812 Return default $external auth source for MONGODB-AWS
-
- Closed
-