The authorization verifies user privileges. MongoDB supports different kinds of authorization models. Role-based access control
Role is a group of privileges and actions over resources gained by users over a given namespace (Database). Actions are performed on resources, and resources are any object that holds a state in the database.
Built-in database user roles and database administration roles exist in each database.
Database User Roles
LDAP (Lightweight Directory Access Protocol) is an open and cross-platform protocol used for directory services authentication. LDAP provides the communication language applications use to communicate with other directory services servers.
MongoDB Enterprise supports querying an LDAP server for the LDAP groups to which the authenticated user belongs. MongoDB maps each returned group's distinguished names (DN) to roles on the admin database. MongoDB authorizes the user based on the mapped roles and their associated privileges. See LDAP Authorization for more information.
MongoDB Enterprise supports querying an LDAP server for the LDAP groups to which the authenticated user belongs. MongoDB maps each returned group's distinguished names (DN) to roles on the admin database. MongoDB authorizes the user based on the mapped roles and their associated privileges. See LDAP Authorization for more information.
MongoDB uses simple binding by default but can use sasl binding instead if configured in security.LDAP.bind.method and security.LDAP.bind.saslMechanisms.
MongoDB can use security.LDAP.userToDNMapping option to transform the username for supporting the query template.
|