Use configure_keystone_authtoken_middleware
configure_auth_token_middleware is deprecated, we should use configure_keystone_authtoken_middleware instead. Change-Id: Ic24f1e04681f9645f5f11558cc772efa42a6e073
This commit is contained in:
parent
1c0a9c8c28
commit
29d711ad24
@ -1493,7 +1493,7 @@ EOF
|
||||
# API specific configuration.
|
||||
function configure_ironic_api {
|
||||
iniset $IRONIC_CONF_FILE DEFAULT auth_strategy $IRONIC_AUTH_STRATEGY
|
||||
configure_auth_token_middleware $IRONIC_CONF_FILE ironic $IRONIC_AUTH_CACHE_DIR/api
|
||||
configure_keystone_authtoken_middleware $IRONIC_CONF_FILE ironic
|
||||
|
||||
if [[ "$IRONIC_USE_WSGI" == "True" ]]; then
|
||||
iniset $IRONIC_CONF_FILE oslo_middleware enable_proxy_headers_parsing True
|
||||
|
Loading…
x
Reference in New Issue
Block a user