权限认证机制
最后更新于
On this page
此页面
NOTE
Starting in version 4.0, MongoDB removes support for the deprecated MongoDB Challenge-Response (MONGODB-CR
) authentication mechanism.
MongoDB supports the following authentication mechanisms:
(默认)
.
In addition, MongoDB Enterprise provides integration with a number of external authentication mechanisms, including Kerberos and LDAP. See for the additional authentication mechanisms supported by MongoDB Enterprise.
注意 从4.0版本开始,MongoDB删除了对已弃用的MongoDB询问-响应(
MONGODB-CR
)身份验证机制的支持。 MongoDB支持以下身份验证机制:
(默认)
.
译者:管祥青
As of MongoDB 3.0, is the default authentication mechanism for MongoDB.
在MongoDB 3.0中, 是MongoDB的默认身份验证机制。
To specify the authentication mechanism to use, set the parameter for and .
Clients specify the authentication mechanism in the method. For the shell and the MongoDB tools, you can also specify the authentication mechanism from the command line.
指定要使用的身份验证机制,设置 参数,使用 和 。 客户端在 方法中指定身份验证机制。对于 命令和MongoDB工具,还可以从命令行指定身份验证机制。
英文原文地址: