diff options
| author | john-griffith <john.griffith@solidfire.com> | 2012-02-02 22:15:58 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-02-13 16:39:10 -0800 |
| commit | fa295d1278ef43fe2e90902006a5d073d78173ad (patch) | |
| tree | 132973e349bcfe30d7208dd1f603e0f74dd56247 /bin/stack | |
| parent | 46e194fdb1ad3675490fd22a6d71e6db7225a4f2 (diff) | |
| download | nova-fa295d1278ef43fe2e90902006a5d073d78173ad.tar.gz nova-fa295d1278ef43fe2e90902006a5d073d78173ad.tar.xz nova-fa295d1278ef43fe2e90902006a5d073d78173ad.zip | |
get_user behavior in ldapdriver
* Addresses bug 744462
Rather than ldapdriver.get_user() returning None for non-existent
user, this change implements exception.LDAPUserNotFound to more
closely match the behavior of other drivers (db).
Change was made in public method only, and _check_user_exists()
which uses get_user() now catches and returns None if applicable.
Implemented test of NotFound exception in base auth test class.
Change-Id: Ia13af759931ca0c7327d54184730537bafbe52ae
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
