When the Fernet token provider was implemented, it extended the
provider.common.py:BaseProvider class. It also overrode most all common methods
the BaseProvider implemented. Other token providers in Keystone (like the UUID
an PKI providers) just implemente a _get_token_id method because token ids may
be different across providers.
This commit removes the issue_v3_token() method from the fernet.Provider. This
ensure that the Fernet provider uses the same issue_v3_token() that all the
other token providers use.
Subsequent patches will do the same for issue_v2_token, validate_v3_token, and
validate_v2_token.
Reviewed: https:/ /review. openstack. org/244853 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=f66badae63b 1544c3bcc83e0c1 afc8e9cdc71bab
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit f66badae63b1544 c3bcc83e0c1afc8 e9cdc71bab
Author: Lance Bragstad <email address hidden>
Date: Mon Jun 29 18:12:37 2015 +0000
Consolidate the fernet provider issue_v3_token()
When the Fernet token provider was implemented, it extended the common. py:BaseProvider class. It also overrode most all common methods
provider.
the BaseProvider implemented. Other token providers in Keystone (like the UUID
an PKI providers) just implemente a _get_token_id method because token ids may
be different across providers.
This commit removes the issue_v3_token() method from the fernet.Provider. This
ensure that the Fernet provider uses the same issue_v3_token() that all the
other token providers use.
Subsequent patches will do the same for issue_v2_token, validate_v3_token, and v2_token.
validate_
Conflicts: token/providers /fernet/ core.py
keystone/
Closes-Bug: #1515485 6d6cdb3a6863fcb fca486af337 1b2df1642d6c34a 3f60a801ed)
Change-Id: I03f56c9c84389a
(cherry picked from commit 91a0b29809cb71c