summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbcommands_generic.cpp
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-02-26 15:38:31 -0500
committerSpencer T Brody <spencer@10gen.com>2013-03-12 12:33:30 -0400
commit18d57191b1133d17239a78f41b9e3899526b5456 (patch)
treec8e485d1fb6f8bf585f39fd199a0c40f35d34837 /src/mongo/db/dbcommands_generic.cpp
parent962ccb59819aecc6fe9ebf8a2ea3df37ba3ac0c7 (diff)
downloadmongo-18d57191b1133d17239a78f41b9e3899526b5456.tar.gz
SERVER-8471 Remove Command::requiresAuth
Diffstat (limited to 'src/mongo/db/dbcommands_generic.cpp')
-rw-r--r--src/mongo/db/dbcommands_generic.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/dbcommands_generic.cpp b/src/mongo/db/dbcommands_generic.cpp
index 0fe1dc6b3c0..b3a494036fb 100644
--- a/src/mongo/db/dbcommands_generic.cpp
+++ b/src/mongo/db/dbcommands_generic.cpp
@@ -106,7 +106,6 @@ namespace mongo {
CmdBuildInfo() : Command( "buildInfo", true, "buildinfo" ) {}
virtual bool slaveOk() const { return true; }
virtual bool adminOnly() const { return false; }
- virtual bool requiresAuth() { return false; }
virtual LockType locktype() const { return NONE; }
virtual void addRequiredPrivileges(const std::string& dbname,
const BSONObj& cmdObj,
@@ -136,7 +135,6 @@ namespace mongo {
virtual bool slaveOk() const { return true; }
virtual void help( stringstream &help ) const { help << "a way to check that the server is alive. responds immediately even if server is in a db lock."; }
virtual LockType locktype() const { return NONE; }
- virtual bool requiresAuth() { return false; }
virtual void addRequiredPrivileges(const std::string& dbname,
const BSONObj& cmdObj,
std::vector<Privilege>* out) {} // No auth required
@@ -316,7 +314,6 @@ namespace mongo {
AvailableQueryOptions() : Command( "availableQueryOptions" , false , "availablequeryoptions" ) {}
virtual bool slaveOk() const { return true; }
virtual LockType locktype() const { return NONE; }
- virtual bool requiresAuth() { return false; }
virtual void addRequiredPrivileges(const std::string& dbname,
const BSONObj& cmdObj,
std::vector<Privilege>* out) {} // No auth required