keystone/keystone/tests/unit/token
Roxana Gherle 2042c955c8 Fix the username value in federated tokens
Currently, in both unscoped and scoped federated tokens, the
username value in the token is equal to the userid and not to
the value of the username in the external identity provider.
This makes WebSSO login to show the userid of the logged-in
user in the Horizon dashboard, whereas before it was showing
the actual user name.

This patch fixes the value of the username in the federated
tokens, which will fix the WebSSO issue as well, since Horizon
looks at the username value and displays that as the logged-in user.

Closes-Bug: #1597101
Closes-Bug: #1482701
Change-Id: I33a0274641c4e6bc4e127f5206ba9bc7dbd8e5a8
2016-07-15 16:37:08 -07:00
..
__init__.py Move token persistence classes to token.persistence module 2014-07-24 16:03:50 -07:00
test_backends.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_fernet_provider.py Fix the username value in federated tokens 2016-07-15 16:37:08 -07:00
test_pki_provider.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_pkiz_provider.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00
test_provider.py Fix fernet padding for python 3 2015-11-04 10:28:11 -06:00
test_token_data_helper.py Enables token_data_helper tests for Python3 2016-02-11 06:40:35 +00:00
test_token_model.py Replace keystone.common.config with keystone.conf package 2016-06-24 17:02:15 +00:00
test_uuid_provider.py Change tests to use common name for keystone.tests.unit 2015-09-04 18:21:42 +00:00