[PATCH] Chained Password Stores
|Reported by:||pacopablo||Owned by:||pacopablo|
Currently, only one implementation of IPasswordStore can be used for authentication. This means that you can use htpasswd OR db auth OR LDAP, etc. However, for some setups, especially those that use LDAP (specifically of the hyperActive Directory kind), it is helpful to have multiple authorization sources. This would allow for a company to have their main users in AD while using htpasswd or db auth for outside users/consultants.
The attached patches make it so that the password_store option becomes an OrderedExtensionsOption. This allows the user to specify the password stores that they want to use. For backwards compatibility, simple specify only one IPasswordStore implementation.
The patch also modifies the admin interface. Instead of radio buttons, select boxes are used so that the password stores can be ordered via webadmin
Finally, small patch to user creation. If the creation fails for some reason, such as passwords don't match, it fills in the dialog with the previously entered information.
Would love to see this get merged ;)
Change History (22)
Changed 6 years ago by anonymous
Changed 6 years ago by pacopablo
comment:4 Changed 6 years ago by pacopablo
- Owner changed from mgood to pacopablo
- Status changed from new to assigned
- Trac Release changed from 0.10 to 0.11