Skip to content

Commit 40799e5

Browse files
committed
PHON-3: Orchestrate standard authentication
1 parent 3b06147 commit 40799e5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

scripts/presets/standalone-auth.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "mongod",
3+
"id" : "STANDALONE-AUTH",
4+
"auth_key": "secret",
5+
"login": "root",
6+
"password": "toor",
7+
"procParams": {
8+
"dbpath": "/tmp/standalone-auth/",
9+
"ipv6": true,
10+
"logappend": true,
11+
"logpath": "/tmp/standalone-auth/m.log",
12+
"journal": true,
13+
"port": 2200,
14+
"setParameter": {"enableTestCommands": 1}
15+
}
16+
}
17+

scripts/start-servers.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
$ssl = $orch->start("standalone-ssl.json");
1818
printf("Standalone SSL server running on: %s\n", $ssl);
1919

20+
$auth = $orch->start("standalone-auth.json");
21+
printf("Standalone Auth server running on: %s\n", $auth);
22+

0 commit comments

Comments
 (0)