summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2013-05-11 08:24:53 -0400
committerTad Marshall <tad@10gen.com>2013-05-11 08:24:53 -0400
commit3ace688b3b2830450c522d5be94d453fd0382e5d (patch)
tree391fc4b394379854d22d444ec067b014beb36193 /src
parent91b011415532da47cb67fdd221480a25d6e0ae45 (diff)
downloadmongo-3ace688b3b2830450c522d5be94d453fd0382e5d.tar.gz
Visual Studio -- add files
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/mongod.vcxproj54
-rw-r--r--src/mongo/db/mongod.vcxproj.filters27
-rw-r--r--src/mongo/db/mongod_sm.vcxproj54
-rw-r--r--src/mongo/db/mongod_sm.vcxproj.filters27
-rw-r--r--src/mongo/dbtests/test.vcxproj55
-rwxr-xr-xsrc/mongo/dbtests/test.vcxproj.filters30
-rw-r--r--src/mongo/dbtests/test_sm.vcxproj55
-rw-r--r--src/mongo/dbtests/test_sm.vcxproj.filters30
-rw-r--r--src/mongo/s/mongos.vcxproj54
-rwxr-xr-xsrc/mongo/s/mongos.vcxproj.filters27
-rw-r--r--src/mongo/s/mongos_sm.vcxproj54
-rw-r--r--src/mongo/s/mongos_sm.vcxproj.filters27
12 files changed, 494 insertions, 0 deletions
diff --git a/src/mongo/db/mongod.vcxproj b/src/mongo/db/mongod.vcxproj
index 6502e665deb..910c49104a7 100644
--- a/src/mongo/db/mongod.vcxproj
+++ b/src/mongo/db/mongod.vcxproj
@@ -2192,18 +2192,69 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="..\util\trace.cpp" />
<ClCompile Include="..\util\version.cpp" />
<ClCompile Include="auth\action_set.cpp" />
+ <ClCompile Include="auth\action_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\action_type.cpp" />
<ClCompile Include="auth\authorization_manager.cpp" />
+ <ClCompile Include="auth\authorization_manager_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\auth_external_state.cpp" />
<ClCompile Include="auth\auth_external_state_d.cpp" />
+ <ClCompile Include="auth\auth_external_state_s.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\auth_external_state_server_common.cpp" />
<ClCompile Include="auth\auth_index_d.cpp" />
<ClCompile Include="auth\auth_server_parameters.cpp" />
<ClCompile Include="auth\mongo_authentication_session.cpp" />
<ClCompile Include="auth\principal.cpp" />
+ <ClCompile Include="auth\principal_name.cpp" />
<ClCompile Include="auth\principal_set.cpp" />
+ <ClCompile Include="auth\principal_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\privilege.cpp" />
<ClCompile Include="auth\privilege_set.cpp" />
+ <ClCompile Include="auth\privilege_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\security_key.cpp" />
<ClCompile Include="btreebuilder.cpp" />
<ClCompile Include="btreeposition.cpp" />
@@ -3476,6 +3527,8 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="auth\authorization_manager.h" />
<ClInclude Include="auth\auth_external_state.h" />
<ClInclude Include="auth\auth_external_state_d.h" />
+ <ClInclude Include="auth\auth_external_state_mock.h" />
+ <ClInclude Include="auth\auth_external_state_s.h" />
<ClInclude Include="auth\auth_external_state_server_common.h" />
<ClInclude Include="auth\auth_index_d.h" />
<ClInclude Include="auth\mongo_authentication_session.h" />
@@ -3804,6 +3857,7 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<None Include="..\util\mongoutils\README" />
<None Include="auth\action_types.txt" />
<None Include="auth\generate_action_types.py" />
+ <None Include="auth\SConscript" />
<None Include="fts\generate_stop_words.py" />
<None Include="fts\SConscript" />
<None Include="fts\stop_words_danish.txt" />
diff --git a/src/mongo/db/mongod.vcxproj.filters b/src/mongo/db/mongod.vcxproj.filters
index 037a752e2aa..298960b4b06 100644
--- a/src/mongo/db/mongod.vcxproj.filters
+++ b/src/mongo/db/mongod.vcxproj.filters
@@ -2027,6 +2027,24 @@
<ClCompile Include="matcher\matchable.cpp">
<Filter>db\matcher</Filter>
</ClCompile>
+ <ClCompile Include="auth\action_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\auth_external_state_s.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\authorization_manager_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\principal_name.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\principal_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\privilege_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\third_party\snappy\config.h">
@@ -4230,6 +4248,12 @@
<ClInclude Include="matcher\matchable.h">
<Filter>db\matcher</Filter>
</ClInclude>
+ <ClInclude Include="auth\auth_external_state_mock.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="auth\auth_external_state_s.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="mongo.ico">
@@ -4427,6 +4451,9 @@
<None Include="ops\SConscript">
<Filter>db\ops</Filter>
</None>
+ <None Include="auth\SConscript">
+ <Filter>db\auth</Filter>
+ </None>
</ItemGroup>
<ItemGroup>
<Filter Include="db">
diff --git a/src/mongo/db/mongod_sm.vcxproj b/src/mongo/db/mongod_sm.vcxproj
index 76c52ef3472..d3c1c3b3f3d 100644
--- a/src/mongo/db/mongod_sm.vcxproj
+++ b/src/mongo/db/mongod_sm.vcxproj
@@ -1863,18 +1863,69 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="..\util\trace.cpp" />
<ClCompile Include="..\util\version.cpp" />
<ClCompile Include="auth\action_set.cpp" />
+ <ClCompile Include="auth\action_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\action_type.cpp" />
<ClCompile Include="auth\authorization_manager.cpp" />
+ <ClCompile Include="auth\authorization_manager_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\auth_external_state.cpp" />
<ClCompile Include="auth\auth_external_state_d.cpp" />
+ <ClCompile Include="auth\auth_external_state_s.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\auth_external_state_server_common.cpp" />
<ClCompile Include="auth\auth_index_d.cpp" />
<ClCompile Include="auth\auth_server_parameters.cpp" />
<ClCompile Include="auth\mongo_authentication_session.cpp" />
<ClCompile Include="auth\principal.cpp" />
+ <ClCompile Include="auth\principal_name.cpp" />
<ClCompile Include="auth\principal_set.cpp" />
+ <ClCompile Include="auth\principal_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\privilege.cpp" />
<ClCompile Include="auth\privilege_set.cpp" />
+ <ClCompile Include="auth\privilege_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="auth\security_key.cpp" />
<ClCompile Include="btreebuilder.cpp" />
<ClCompile Include="btreeposition.cpp" />
@@ -2812,6 +2863,8 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="auth\authorization_manager.h" />
<ClInclude Include="auth\auth_external_state.h" />
<ClInclude Include="auth\auth_external_state_d.h" />
+ <ClInclude Include="auth\auth_external_state_mock.h" />
+ <ClInclude Include="auth\auth_external_state_s.h" />
<ClInclude Include="auth\auth_external_state_server_common.h" />
<ClInclude Include="auth\auth_index_d.h" />
<ClInclude Include="auth\mongo_authentication_session.h" />
@@ -3123,6 +3176,7 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<None Include="..\util\mongoutils\README" />
<None Include="auth\action_types.txt" />
<None Include="auth\generate_action_types.py" />
+ <None Include="auth\SConscript" />
<None Include="fts\generate_stop_words.py" />
<None Include="fts\SConscript" />
<None Include="fts\stop_words_danish.txt" />
diff --git a/src/mongo/db/mongod_sm.vcxproj.filters b/src/mongo/db/mongod_sm.vcxproj.filters
index b71d244cc65..15e8ef6cdbb 100644
--- a/src/mongo/db/mongod_sm.vcxproj.filters
+++ b/src/mongo/db/mongod_sm.vcxproj.filters
@@ -1682,6 +1682,24 @@
<ClCompile Include="matcher\matchable.cpp">
<Filter>db\matcher</Filter>
</ClCompile>
+ <ClCompile Include="auth\action_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\auth_external_state_s.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\authorization_manager_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\principal_name.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\principal_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="auth\privilege_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\third_party\snappy\config.h">
@@ -3402,6 +3420,12 @@
<ClInclude Include="matcher\matchable.h">
<Filter>db\matcher</Filter>
</ClInclude>
+ <ClInclude Include="auth\auth_external_state_mock.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="auth\auth_external_state_s.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="mongo.ico">
@@ -3548,6 +3572,9 @@
<None Include="ops\SConscript">
<Filter>db\ops</Filter>
</None>
+ <None Include="auth\SConscript">
+ <Filter>db\auth</Filter>
+ </None>
</ItemGroup>
<ItemGroup>
<Filter Include="db">
diff --git a/src/mongo/dbtests/test.vcxproj b/src/mongo/dbtests/test.vcxproj
index fe4bef5f937..d1545d10723 100644
--- a/src/mongo/dbtests/test.vcxproj
+++ b/src/mongo/dbtests/test.vcxproj
@@ -594,6 +594,9 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="..\db\auth\authorization_manager.h" />
<ClInclude Include="..\db\auth\auth_external_state.h" />
<ClInclude Include="..\db\auth\auth_external_state_d.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_s.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_server_common.h" />
<ClInclude Include="..\db\auth\auth_index_d.h" />
<ClInclude Include="..\db\auth\mongo_authentication_session.h" />
<ClInclude Include="..\db\auth\principal.h" />
@@ -2164,18 +2167,69 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="..\client\parallel.cpp" />
<ClCompile Include="..\client\sasl_client_authenticate.cpp" />
<ClCompile Include="..\db\auth\action_set.cpp" />
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\action_type.cpp" />
<ClCompile Include="..\db\auth\authorization_manager.cpp" />
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state.cpp" />
<ClCompile Include="..\db\auth\auth_external_state_d.cpp" />
+ <ClCompile Include="..\db\auth\auth_external_state_s.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state_server_common.cpp" />
<ClCompile Include="..\db\auth\auth_index_d.cpp" />
<ClCompile Include="..\db\auth\auth_server_parameters.cpp" />
<ClCompile Include="..\db\auth\mongo_authentication_session.cpp" />
<ClCompile Include="..\db\auth\principal.cpp" />
+ <ClCompile Include="..\db\auth\principal_name.cpp" />
<ClCompile Include="..\db\auth\principal_set.cpp" />
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\privilege.cpp" />
<ClCompile Include="..\db\auth\privilege_set.cpp" />
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\security_key.cpp" />
<ClCompile Include="..\db\btreebuilder.cpp" />
<ClCompile Include="..\db\btreeposition.cpp" />
@@ -3943,6 +3997,7 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<None Include="..\..\third_party\v8\src\string.js" />
<None Include="..\..\third_party\v8\src\uri.js" />
<None Include="..\..\third_party\v8\src\v8natives.js" />
+ <None Include="..\db\auth\SConscript" />
<None Include="..\db\fts\generate_stop_words.py" />
<None Include="..\db\fts\SConscript" />
<None Include="..\db\fts\stop_words_danish.txt" />
diff --git a/src/mongo/dbtests/test.vcxproj.filters b/src/mongo/dbtests/test.vcxproj.filters
index 2923d549a3a..0ff89996205 100755
--- a/src/mongo/dbtests/test.vcxproj.filters
+++ b/src/mongo/dbtests/test.vcxproj.filters
@@ -2466,6 +2466,15 @@
<ClInclude Include="..\db\matcher\matchable.h">
<Filter>db\matcher</Filter>
</ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_s.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_server_common.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\client\connpool.cpp">
@@ -4672,6 +4681,24 @@
<ClCompile Include="..\db\matcher\matchable.cpp">
<Filter>db\matcher</Filter>
</ClCompile>
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\auth_external_state_s.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_name.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="btreetests.inl">
@@ -4863,5 +4890,8 @@
<None Include="..\db\ops\SConscript">
<Filter>db\ops</Filter>
</None>
+ <None Include="..\db\auth\SConscript">
+ <Filter>db\auth</Filter>
+ </None>
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/src/mongo/dbtests/test_sm.vcxproj b/src/mongo/dbtests/test_sm.vcxproj
index d0680734a2d..ed9eb73760c 100644
--- a/src/mongo/dbtests/test_sm.vcxproj
+++ b/src/mongo/dbtests/test_sm.vcxproj
@@ -650,6 +650,9 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="..\db\auth\authorization_manager.h" />
<ClInclude Include="..\db\auth\auth_external_state.h" />
<ClInclude Include="..\db\auth\auth_external_state_d.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_s.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_server_common.h" />
<ClInclude Include="..\db\auth\auth_index_d.h" />
<ClInclude Include="..\db\auth\mongo_authentication_session.h" />
<ClInclude Include="..\db\auth\principal.h" />
@@ -2455,18 +2458,69 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="..\client\parallel.cpp" />
<ClCompile Include="..\client\sasl_client_authenticate.cpp" />
<ClCompile Include="..\db\auth\action_set.cpp" />
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\action_type.cpp" />
<ClCompile Include="..\db\auth\authorization_manager.cpp" />
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state.cpp" />
<ClCompile Include="..\db\auth\auth_external_state_d.cpp" />
+ <ClCompile Include="..\db\auth\auth_external_state_s.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state_server_common.cpp" />
<ClCompile Include="..\db\auth\auth_index_d.cpp" />
<ClCompile Include="..\db\auth\auth_server_parameters.cpp" />
<ClCompile Include="..\db\auth\mongo_authentication_session.cpp" />
<ClCompile Include="..\db\auth\principal.cpp" />
+ <ClCompile Include="..\db\auth\principal_name.cpp" />
<ClCompile Include="..\db\auth\principal_set.cpp" />
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\privilege.cpp" />
<ClCompile Include="..\db\auth\privilege_set.cpp" />
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\security_key.cpp" />
<ClCompile Include="..\db\btreebuilder.cpp" />
<ClCompile Include="..\db\btreeposition.cpp" />
@@ -3571,6 +3625,7 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<None Include="..\base\generate_error_codes.py" />
<None Include="..\db\auth\action_types.txt" />
<None Include="..\db\auth\generate_action_types.py" />
+ <None Include="..\db\auth\SConscript" />
<None Include="..\db\fts\generate_stop_words.py" />
<None Include="..\db\fts\SConscript" />
<None Include="..\db\fts\stop_words_danish.txt" />
diff --git a/src/mongo/dbtests/test_sm.vcxproj.filters b/src/mongo/dbtests/test_sm.vcxproj.filters
index f6f28f3ce7c..7b2b542696c 100644
--- a/src/mongo/dbtests/test_sm.vcxproj.filters
+++ b/src/mongo/dbtests/test_sm.vcxproj.filters
@@ -1977,6 +1977,15 @@
<ClInclude Include="..\db\matcher\matchable.h">
<Filter>db\matcher</Filter>
</ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_s.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_server_common.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\client\connpool.cpp">
@@ -3844,6 +3853,24 @@
<ClCompile Include="..\db\matcher\matchable.cpp">
<Filter>db\matcher</Filter>
</ClCompile>
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\auth_external_state_s.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_name.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="btreetests.inl">
@@ -3978,5 +4005,8 @@
<None Include="..\db\ops\SConscript">
<Filter>db\ops</Filter>
</None>
+ <None Include="..\db\auth\SConscript">
+ <Filter>db\auth</Filter>
+ </None>
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/src/mongo/s/mongos.vcxproj b/src/mongo/s/mongos.vcxproj
index 427ee5c791c..f8380d29c2b 100644
--- a/src/mongo/s/mongos.vcxproj
+++ b/src/mongo/s/mongos.vcxproj
@@ -1870,17 +1870,68 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="..\client\distlock.cpp" />
<ClCompile Include="..\client\sasl_client_authenticate.cpp" />
<ClCompile Include="..\db\auth\action_set.cpp" />
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\action_type.cpp" />
<ClCompile Include="..\db\auth\authorization_manager.cpp" />
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state.cpp" />
+ <ClCompile Include="..\db\auth\auth_external_state_d.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state_s.cpp" />
<ClCompile Include="..\db\auth\auth_external_state_server_common.cpp" />
<ClCompile Include="..\db\auth\auth_server_parameters.cpp" />
<ClCompile Include="..\db\auth\mongo_authentication_session.cpp" />
<ClCompile Include="..\db\auth\principal.cpp" />
+ <ClCompile Include="..\db\auth\principal_name.cpp" />
<ClCompile Include="..\db\auth\principal_set.cpp" />
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\privilege.cpp" />
<ClCompile Include="..\db\auth\privilege_set.cpp" />
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\security_key.cpp" />
<ClCompile Include="..\db\client_basic.cpp" />
<ClCompile Include="..\db\commands\connection_status.cpp" />
@@ -3195,6 +3246,8 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="..\db\auth\authentication_session.h" />
<ClInclude Include="..\db\auth\authorization_manager.h" />
<ClInclude Include="..\db\auth\auth_external_state.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_d.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h" />
<ClInclude Include="..\db\auth\auth_external_state_s.h" />
<ClInclude Include="..\db\auth\auth_external_state_server_common.h" />
<ClInclude Include="..\db\auth\mongo_authentication_session.h" />
@@ -3489,6 +3542,7 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<None Include="..\base\generate_error_codes.py" />
<None Include="..\db\auth\action_types.txt" />
<None Include="..\db\auth\generate_action_types.py" />
+ <None Include="..\db\auth\SConscript" />
<None Include="..\db\fts\generate_stop_words.py" />
<None Include="..\db\fts\SConscript" />
<None Include="..\db\fts\stop_words_danish.txt" />
diff --git a/src/mongo/s/mongos.vcxproj.filters b/src/mongo/s/mongos.vcxproj.filters
index a00e70c09fd..42368675786 100755
--- a/src/mongo/s/mongos.vcxproj.filters
+++ b/src/mongo/s/mongos.vcxproj.filters
@@ -1713,6 +1713,24 @@
<ClCompile Include="..\db\matcher\matchable.cpp">
<Filter>db\matcher</Filter>
</ClCompile>
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\auth_external_state_d.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_name.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\pch.h" />
@@ -3355,6 +3373,12 @@
<ClInclude Include="..\db\matcher\matchable.h">
<Filter>db\matcher</Filter>
</ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_d.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\base\error_codes.err">
@@ -3528,5 +3552,8 @@
<None Include="..\shell\servers_misc.js">
<Filter>JavaScript source files\Included in shell only</Filter>
</None>
+ <None Include="..\db\auth\SConscript">
+ <Filter>db\auth</Filter>
+ </None>
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/src/mongo/s/mongos_sm.vcxproj b/src/mongo/s/mongos_sm.vcxproj
index dc08726b3d3..e6888cbe0b4 100644
--- a/src/mongo/s/mongos_sm.vcxproj
+++ b/src/mongo/s/mongos_sm.vcxproj
@@ -1699,17 +1699,68 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClCompile Include="..\client\distlock.cpp" />
<ClCompile Include="..\client\sasl_client_authenticate.cpp" />
<ClCompile Include="..\db\auth\action_set.cpp" />
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\action_type.cpp" />
<ClCompile Include="..\db\auth\authorization_manager.cpp" />
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state.cpp" />
+ <ClCompile Include="..\db\auth\auth_external_state_d.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\auth_external_state_s.cpp" />
<ClCompile Include="..\db\auth\auth_external_state_server_common.cpp" />
<ClCompile Include="..\db\auth\auth_server_parameters.cpp" />
<ClCompile Include="..\db\auth\mongo_authentication_session.cpp" />
<ClCompile Include="..\db\auth\principal.cpp" />
+ <ClCompile Include="..\db\auth\principal_name.cpp" />
<ClCompile Include="..\db\auth\principal_set.cpp" />
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\privilege.cpp" />
<ClCompile Include="..\db\auth\privilege_set.cpp" />
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|Win32'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusDebug|x64'">true</ExcludedFromBuild>
+ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Win2008PlusRelease|x64'">true</ExcludedFromBuild>
+ </ClCompile>
<ClCompile Include="..\db\auth\security_key.cpp" />
<ClCompile Include="..\db\client_basic.cpp" />
<ClCompile Include="..\db\commands\connection_status.cpp" />
@@ -2777,6 +2828,8 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<ClInclude Include="..\db\auth\authentication_session.h" />
<ClInclude Include="..\db\auth\authorization_manager.h" />
<ClInclude Include="..\db\auth\auth_external_state.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_d.h" />
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h" />
<ClInclude Include="..\db\auth\auth_external_state_s.h" />
<ClInclude Include="..\db\auth\auth_external_state_server_common.h" />
<ClInclude Include="..\db\auth\mongo_authentication_session.h" />
@@ -3076,6 +3129,7 @@ cscript //Nologo "$(ProjectDir)..\shell\createCPPfromJavaScriptFiles.js" "$(Proj
<None Include="..\base\generate_error_codes.py" />
<None Include="..\db\auth\action_types.txt" />
<None Include="..\db\auth\generate_action_types.py" />
+ <None Include="..\db\auth\SConscript" />
<None Include="..\db\fts\generate_stop_words.py" />
<None Include="..\db\fts\SConscript" />
<None Include="..\db\fts\stop_words_danish.txt" />
diff --git a/src/mongo/s/mongos_sm.vcxproj.filters b/src/mongo/s/mongos_sm.vcxproj.filters
index b193a3a18e3..896d3019f5d 100644
--- a/src/mongo/s/mongos_sm.vcxproj.filters
+++ b/src/mongo/s/mongos_sm.vcxproj.filters
@@ -1311,6 +1311,24 @@
<ClCompile Include="..\db\matcher\matchable.cpp">
<Filter>db\matcher</Filter>
</ClCompile>
+ <ClCompile Include="..\db\auth\action_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\auth_external_state_d.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\authorization_manager_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_name.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\principal_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
+ <ClCompile Include="..\db\auth\privilege_set_test.cpp">
+ <Filter>db\auth</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\pch.h" />
@@ -2482,6 +2500,12 @@
<ClInclude Include="..\db\matcher\matchable.h">
<Filter>db\matcher</Filter>
</ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_d.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
+ <ClInclude Include="..\db\auth\auth_external_state_mock.h">
+ <Filter>db\auth</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\third_party\js-1.7\jskeyword.tbl">
@@ -2601,5 +2625,8 @@
<None Include="..\platform\SConscript">
<Filter>platform</Filter>
</None>
+ <None Include="..\db\auth\SConscript">
+ <Filter>db\auth</Filter>
+ </None>
</ItemGroup>
</Project> \ No newline at end of file