summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/authentication_commands.h
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2014-05-20 16:34:25 -0400
committerAndreas Nilsson <andreas.nilsson@10gen.com>2014-05-22 13:25:41 -0400
commit81967a2dce1898d1f03938f0b5c27b8a37873877 (patch)
treee88fcac0a90d991302bee45045ee4b9de7f053e0 /src/mongo/db/commands/authentication_commands.h
parent9173c67fc584afa1bf53584275904d77e10228e8 (diff)
downloadmongo-81967a2dce1898d1f03938f0b5c27b8a37873877.tar.gz
SERVER-13945 Match x.509 cluster certs per attribute
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.h')
-rw-r--r--src/mongo/db/commands/authentication_commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/authentication_commands.h b/src/mongo/db/commands/authentication_commands.h
index 096b66b9cab..4ccfb464aa7 100644
--- a/src/mongo/db/commands/authentication_commands.h
+++ b/src/mongo/db/commands/authentication_commands.h
@@ -76,6 +76,7 @@ namespace mongo {
const BSONObj& cmdObj);
Status _authenticateCR(const UserName& user, const BSONObj& cmdObj);
Status _authenticateX509(const UserName& user, const BSONObj& cmdObj);
+ bool _clusterIdMatch(const std::string& subjectName, const std::string& srvSubjectName);
};
extern CmdAuthenticate cmdAuthenticate;