summaryrefslogtreecommitdiff
path: root/src/mongo/s
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2018-05-22 16:11:51 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2018-05-22 16:20:15 -0400
commitca13e81f6387273f8d82bcf7b0bee3a0d4821b26 (patch)
treed1e72f31608ec32245e1ff2ab69d4b1be822160c /src/mongo/s
parente480a353c495d5dca2d7a83ecec49ef05acda6fd (diff)
downloadmongo-ca13e81f6387273f8d82bcf7b0bee3a0d4821b26.tar.gz
SERVER-34894 Embedded authorization components
To facilitate using the mongodb code as an in-process embeddable library, we have created a dummy auth layer which can stand in for the real auth system in these contexts. Several link edges needed to be retargetted, and some tests needed to be relaxed. (cherry picked from commit ac1ceb8cb4994e235abe9a364c3dd7a2bfa84a62)
Diffstat (limited to 'src/mongo/s')
-rw-r--r--src/mongo/s/client/SConscript13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/mongo/s/client/SConscript b/src/mongo/s/client/SConscript
index a8079187d31..a2cdccddf21 100644
--- a/src/mongo/s/client/SConscript
+++ b/src/mongo/s/client/SConscript
@@ -39,7 +39,10 @@ env.Library(
],
LIBDEPS=[
'$BUILD_DIR/mongo/s/coreshard',
- '$BUILD_DIR/mongo/s/sharding_legacy_api'
+ '$BUILD_DIR/mongo/s/sharding_legacy_api',
+ ],
+ LIBDEPS_PRIVATE=[
+ '$BUILD_DIR/mongo/db/auth/internal_user_auth',
],
)
@@ -51,7 +54,7 @@ env.CppUnitTest(
LIBDEPS=[
'$BUILD_DIR/mongo/s/coreshard',
'$BUILD_DIR/mongo/s/sharding_router_test_fixture',
- ]
+ ],
)
env.Library(
@@ -64,7 +67,7 @@ env.Library(
'$BUILD_DIR/mongo/client/remote_command_retry_scheduler',
'$BUILD_DIR/mongo/s/common_s',
'$BUILD_DIR/mongo/s/write_ops/batch_write_types',
- ]
+ ],
)
env.Library(
@@ -75,7 +78,7 @@ env.Library(
LIBDEPS=[
'$BUILD_DIR/mongo/client/clientdriver',
'$BUILD_DIR/mongo/db/dbdirectclient',
- '$BUILD_DIR/mongo/db/repl/repl_coordinator_interface'
+ '$BUILD_DIR/mongo/db/repl/repl_coordinator_interface',
],
)
@@ -88,7 +91,7 @@ env.Library(
'$BUILD_DIR/mongo/client/clientdriver',
'$BUILD_DIR/mongo/db/repl/repl_coordinator_interface',
'rs_local_client',
- 'shard_interface'
+ 'shard_interface',
],
)