Comment 1 for bug 1516980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swauth (master)

Reviewed: https://review.openstack.org/285292
Committed: https://git.openstack.org/cgit/openstack/swauth/commit/?id=e40938cbb426e8e0ddf8d60d3a38c72c2d51ea6d
Submitter: Jenkins
Branch: master

commit e40938cbb426e8e0ddf8d60d3a38c72c2d51ea6d
Author: Prashanth Pai <email address hidden>
Date: Fri Feb 26 18:37:34 2016 +0530

    Fix changing of auth_type in existing deployments

    Problem:
    If an existing swauth deployment changes `auth_type` in conf file to a
    different one (for example: sha1 to sha512), all attempts to authorize
    existing/old users will fail because of change in encoder type.

    Fix:
    With this change, the credentials match is done using an encoder with
    which the password was initially encoded. This allows swauth deployments
    to change auth_type and old users will still be able to authorize.

    Closes-Bug: 1516980
    Change-Id: I8a5c397d0796062f4109c59b6dc61b14d4a97e4b
    Signed-off-by: Prashanth Pai <email address hidden>