Add option for delayed auth decision, defaulting to True.

This commit is contained in:
Adam Gandelman
2013-04-10 21:27:47 -07:00
parent c734283c43
commit 772e53ed78
5 changed files with 9 additions and 2 deletions

View File

@@ -102,6 +102,10 @@ options:
default: tempauth
type: string
description: Auth method to use, tempauth or keystone
delay-auth-decision:
default: "True"
type: string
description: Delay authentication to downstream WSGI services.
# Manual Keystone configuration.
keystone-auth-host:
type: string

View File

@@ -196,7 +196,8 @@ def write_proxy_config():
'proxy_ip': utils.get_host_ip(),
'bind_port': cluster.determine_api_port(bind_port),
'workers': workers,
'operator_roles': utils.config_get('operator-roles')
'operator_roles': utils.config_get('operator-roles'),
'delay_auth_decision': utils.config_get('delay-auth-decision')
}
ctxt['ssl'] = False

View File

@@ -1 +1 @@
125
126

View File

@@ -45,6 +45,7 @@ auth_uri = {{ auth_protocol }}://{{ keystone_host }}:{{ service_port }}
admin_tenant_name = {{ service_tenant }}
admin_user = {{ service_user }}
admin_password = {{ service_password }}
delay_auth_decision = {{ delay_auth_decision }}
{% if os_release != 'essex' %}signing_dir = /etc/swift{% endif %}

View File

@@ -45,6 +45,7 @@ auth_uri = {{ auth_protocol }}://{{ keystone_host }}:{{ service_port }}
admin_tenant_name = {{ service_tenant }}
admin_user = {{ service_user }}
admin_password = {{ service_password }}
delay_auth_decision = {{ delay_auth_decision }}
{% if os_release != 'essex' %}signing_dir = /etc/swift{% endif %}