When using the Fernet token provider to build a federated payload, we can't
assume that the group ID will always be a UUID format that we can convert to
bytes. This change makes the Fernet code smart enough to pass the original
group ID in the payload if it can't convert it to bytes.
Reviewed: https:/ /review. openstack. org/186392 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=5b650ff3f9b 86c3aa6889fca47 9be8be57fc08e0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5b650ff3f9b86c3 aa6889fca479be8 be57fc08e0
Author: Lance Bragstad <email address hidden>
Date: Thu May 28 13:35:30 2015 +0000
Don't assume group IDs are UUID format
When using the Fernet token provider to build a federated payload, we can't
assume that the group ID will always be a UUID format that we can convert to
bytes. This change makes the Fernet code smart enough to pass the original
group ID in the payload if it can't convert it to bytes.
Change-Id: I6d00902eb461c2 2aafd9cb5ca706b 05bedefd37d
Related-Bug: 1459382