summaryrefslogtreecommitdiff
path: root/db/security.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/security.cpp')
-rw-r--r--db/security.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/db/security.cpp b/db/security.cpp
new file mode 100644
index 00000000000..747b04a4ad3
--- /dev/null
+++ b/db/security.cpp
@@ -0,0 +1,32 @@
+// security.cpp
+
+/**
+ * Copyright (C) 2009 10gen Inc.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "stdafx.h"
+#include "security.h"
+#include "instance.h"
+#include "client.h"
+#include "curop.h"
+
+namespace mongo {
+
+ bool noauth = true;
+
+ int AuthenticationInfo::warned = 0;
+
+} // namespace mongo
+