diff options
author | Andreas Nilsson <andreas.nilsson@mongodb.com> | 2016-03-21 09:09:03 -0400 |
---|---|---|
committer | Andreas Nilsson <andreas.nilsson@mongodb.com> | 2016-03-25 12:03:17 -0400 |
commit | ef2130288e7d2c89dcd1a503dfd701263d5563fe (patch) | |
tree | cc8f912ab33bec2c4cadad84d264f8ecc03eaf81 /src/mongo/db/server_options.h | |
parent | a1d9d2251734bc4077255ae33e17f5a210697839 (diff) | |
download | mongo-ef2130288e7d2c89dcd1a503dfd701263d5563fe.tar.gz |
SERVER-22708 Insecure configuration startup warnings
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r-- | src/mongo/db/server_options.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h index 901dc0d3bd6..9407d40a5b5 100644 --- a/src/mongo/db/server_options.h +++ b/src/mongo/db/server_options.h @@ -105,7 +105,11 @@ struct ServerGlobalParams { BSONArray argvArray; BSONObj parsedOpts; - bool isAuthEnabled = false; + + enum AuthState { kEnabled, kDisabled, kUndefined }; + + AuthState authState = AuthState::kUndefined; + AtomicInt32 clusterAuthMode; // --clusterAuthMode, the internal cluster auth mode enum ClusterAuthModes { |