Auth driver for ldap. Includes FakeLdapDriver.
It should be easy to create a replacement for this driver supporting other backends by creating another class that exposes the same public methods.
Bases: synaps.auth.ldapdriver.LdapDriver
Fake Ldap Auth driver
Bases: object
Bases: object
Ldap Auth driver
Defines enter and exit and therefore supports the with/as syntax.
Add role for user (or user and project)
Add user to project
Create a project
Create a user
Delete a project
Delete a user
Retrieve project by id
Retrieve list of projects
Retrieve user by id
Retrieve user by access key
Retrieve list of roles for user (or user and project)
Retrieve list of users
Check if user has role
If project is specified, it checks for local role, otherwise it checks for global role
Check if user is in project
Modify an existing project
Modify an existing user
Remove user from project
Remove role for user (or user and project)
Decorator to sanitize all args