diff --git a/templates/vhost/_directories.erb b/templates/vhost/_directories.erb index d8bba5e65..16a6e4fac 100644 --- a/templates/vhost/_directories.erb +++ b/templates/vhost/_directories.erb @@ -196,8 +196,13 @@ <%- end -%> <%- end -%> <%- if @shibboleth_enabled -%> - <%- if directory['shib_require_setting'] and ! directory['shib_require_setting'].empty? -%> - ShibRequireSetting <%= directory['shib_require_setting'] %> + <%- if directory['shib_require_session'] and ! directory['shib_require_session'].empty? -%> + ShibRequireSession <%= directory['shib_require_session'] %> + <%- end -%> + <%- if directory['shib_request_settings'] -%> + <%- Array(directory['shib_request_settings']).each do |setting| -%> + ShibRequestSetting <%= setting %> + <%- end -%> <%- end -%> <%- if directory['shib_use_headers'] and ! directory['shib_use_headers'].empty? -%> ShibUseHeaders <%= directory['shib_use_headers'] %>