commit 0f6e92ccd18e2d93dc2ecee79e57ee344ea09941
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/425762 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=0f6e92ccd18 e2d93dc2ecee79e 57ee344ea09941
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 0f6e92ccd18e2d9 3dc2ecee79e57ee 344ea09941
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