commit a1cc77e72dbad29a14313965df73eab439c705ee
Author: Eric Brown <email address hidden>
Date: Tue Jan 17 17:42:52 2017 -0800
Catch potential SyntaxError in federation mapping
When using the 'groups' keyword in a federation mapping, the value
passed in the assertion map be a simple string with a space. For
example, "ALL USERS". This results in ast.literal_eval() raising
a SyntaxError and not ValueError, which bubbles up to the API as
an uncaught 500 Internal Server Error.
Change-Id: I61f93a6c54b62ba8719d2603f93dc18c33b581ce
Closes-Bug: #1629446
(cherry picked from commit 9e1e2c2156f365078085db54dfbbfff50e2c2b84)
Reviewed: https:/ /review. openstack. org/425763 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=a1cc77e72db ad29a14313965df 73eab439c705ee
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit a1cc77e72dbad29 a14313965df73ea b439c705ee
Author: Eric Brown <email address hidden>
Date: Tue Jan 17 17:42:52 2017 -0800
Catch potential SyntaxError in federation mapping
When using the 'groups' keyword in a federation mapping, the value
passed in the assertion map be a simple string with a space. For
example, "ALL USERS". This results in ast.literal_eval() raising
a SyntaxError and not ValueError, which bubbles up to the API as
an uncaught 500 Internal Server Error.
Change-Id: I61f93a6c54b62b a8719d2603f93dc 18c33b581ce 78085db54dfbbff f50e2c2b84)
Closes-Bug: #1629446
(cherry picked from commit 9e1e2c2156f3650