summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@mongodb.com>2014-03-31 12:50:33 -0400
committerShaun Verch <shaun.verch@mongodb.com>2014-03-31 13:59:24 -0400
commit6c38102c43fe66faa5c282ac59c206f162ccc6ff (patch)
treedda32c7788daabe7f23495a3e4a7789a84f79c6a /jstests/auth
parent7ccb298ff2790f4d4b5e844e4124f9051a4ec437 (diff)
downloadmongo-6c38102c43fe66faa5c282ac59c206f162ccc6ff.tar.gz
SERVER-13416 Rename security.authentication to security.authorization
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/auth_options.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/auth/auth_options.js b/jstests/auth/auth_options.js
index 46f0537446d..36a76449f4b 100644
--- a/jstests/auth/auth_options.js
+++ b/jstests/auth/auth_options.js
@@ -32,7 +32,7 @@ jsTest.log("Testing \"auth\" command line option");
var expectedResult = {
"parsed" : {
"security" : {
- "authentication" : "required"
+ "authorization" : "enabled"
}
}
};
@@ -42,18 +42,18 @@ jsTest.log("Testing \"noauth\" command line option");
expectedResult = {
"parsed" : {
"security" : {
- "authentication" : "optional"
+ "authorization" : "disabled"
}
}
};
testGetCmdLineOpts({ noauth : "" }, expectedResult);
-jsTest.log("Testing \"security.authentication\" config file option");
+jsTest.log("Testing \"security.authorization\" config file option");
expectedResult = {
"parsed" : {
"config" : "jstests/libs/config_files/enable_auth.json",
"security" : {
- "authentication" : "required"
+ "authorization" : "enabled"
}
}
};