keystone/keystone/tests
Lance Bragstad 7810813d22 Only log warnings about token length when length exceeds max_token_size
Previously, the fernet token provider would log warnings when a fernet
token exceeded 255 characters, which is common for LDAP-backed
deployments. The warning is always issued, even when operators configure
keystone's max_token_size to a higher value, causing confusion because
it appears the configuration value is silently ignored.

This commit fixes that issue by using the max_token_size configuration
parameter consistently in the fernet token provider.

Closes-Bug: 1926483

Change-Id: I4bb54aac9b950d59082a4468203a3249790839d7
(cherry picked from commit 68bfb685d1)
2022-07-26 14:00:22 +00:00
..
common Add missing translation import to common.auth.py 2018-11-28 14:23:41 +00:00
functional Update keystone functional tests 2018-04-18 21:04:59 +00:00
hacking Update hacking for Python3 2020-04-15 07:17:58 +02:00
protection Use app cred user ID in policy enforcement 2020-11-11 11:01:20 -06:00
unit Only log warnings about token length when length exceeds max_token_size 2022-07-26 14:00:22 +00:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00