2009-01-18 19:13:12 -05:00
|
|
|
// security.cpp
|
|
|
|
|
|
2009-01-23 11:28:29 -05:00
|
|
|
/**
|
|
|
|
|
* 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/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2009-01-18 19:13:12 -05:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "security.h"
|
2009-10-14 10:20:53 -04:00
|
|
|
#include "instance.h"
|
2009-10-12 15:12:16 -04:00
|
|
|
#include "client.h"
|
2009-10-16 15:36:34 -04:00
|
|
|
#include "curop.h"
|
2009-01-18 19:13:12 -05:00
|
|
|
|
|
|
|
|
namespace mongo {
|
|
|
|
|
|
2009-01-18 20:31:33 -05:00
|
|
|
bool noauth = true;
|
|
|
|
|
|
2009-10-25 00:47:43 -04:00
|
|
|
int AuthenticationInfo::warned = 0;
|
2009-01-21 17:26:16 -05:00
|
|
|
|
2009-01-18 19:13:12 -05:00
|
|
|
} // namespace mongo
|
|
|
|
|
|