Replacing direct import for token plugin

The direct import of the auth plugin
'keystone.auth.plugins.token.Token' is deprecated since
Liberty.

The entrypoint should only be defined in case there is a
need to override the default implementation with a custom
class.

A closer inspection to the code confirms that:
70c9dd8256/keystone/conf/auth.py (L38)

Closes-Bug: #1837110

Change-Id: I80e584de7d5bf46c5621e357333853975cfebade
This commit is contained in:
Eduardo Sousa 2019-09-17 17:29:02 +01:00
parent 631749ee7b
commit 7d24238e72
3 changed files with 0 additions and 3 deletions

View File

@ -63,7 +63,6 @@ driver = {{ assignment_backend }}
[auth]
methods = external,password,token,oauth1,totp
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth
[paste_deploy]

View File

@ -75,7 +75,6 @@ driver = {{ assignment_backend }}
[auth]
methods = external,password,token,oauth1,mapped,openid,totp
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth
{% endif %}

View File

@ -74,7 +74,6 @@ driver = {{ assignment_backend }}
[auth]
methods = {{ auth_methods }}
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth
{% endif %}