Merge "Issue a deprecation warning for validating PKI tokens"
This commit is contained in:
commit
c0918a4caa
|
@ -802,6 +802,13 @@ class AuthProtocol(BaseAuthProtocol):
|
||||||
self.log.warning('Fetch revocation list failed, '
|
self.log.warning('Fetch revocation list failed, '
|
||||||
'fallback to online validation.')
|
'fallback to online validation.')
|
||||||
else:
|
else:
|
||||||
|
self.log.warning('auth_token middleware received a PKI/Z token. '
|
||||||
|
'This form of token is deprecated and has been '
|
||||||
|
'removed from keystone server and will be '
|
||||||
|
'removed from auth_token middleware in the Rocky '
|
||||||
|
'release. Please contact your administrator '
|
||||||
|
'about upgrading keystone and the token format.')
|
||||||
|
|
||||||
data = jsonutils.loads(verified)
|
data = jsonutils.loads(verified)
|
||||||
|
|
||||||
audit_ids = None
|
audit_ids = None
|
||||||
|
|
Loading…
Reference in New Issue