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:
parent
631749ee7b
commit
7d24238e72
|
@ -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]
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue