diff options
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.h')
-rw-r--r-- | src/mongo/db/commands/authentication_commands.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/commands/authentication_commands.h b/src/mongo/db/commands/authentication_commands.h index 4b1caf54913..fddfcfdb1eb 100644 --- a/src/mongo/db/commands/authentication_commands.h +++ b/src/mongo/db/commands/authentication_commands.h @@ -55,7 +55,7 @@ public: virtual void redactForLogging(mutablebson::Document* cmdObj); CmdAuthenticate() : Command("authenticate") {} - bool run(OperationContext* txn, + bool run(OperationContext* opCtx, const std::string& dbname, BSONObj& cmdObj, int options, @@ -75,12 +75,12 @@ private: * mechanism, and ProtocolError, indicating an error in the use of the authentication * protocol. */ - Status _authenticate(OperationContext* txn, + Status _authenticate(OperationContext* opCtx, const std::string& mechanism, const UserName& user, const BSONObj& cmdObj); - Status _authenticateCR(OperationContext* txn, const UserName& user, const BSONObj& cmdObj); - Status _authenticateX509(OperationContext* txn, const UserName& user, const BSONObj& cmdObj); + Status _authenticateCR(OperationContext* opCtx, const UserName& user, const BSONObj& cmdObj); + Status _authenticateX509(OperationContext* opCtx, const UserName& user, const BSONObj& cmdObj); }; extern CmdAuthenticate cmdAuthenticate; |