Fix bug 'X-Frame-Options not configured: Lack of clickjacking protection'
[sdc.git] / utils / webseal-simulator / sdc-simulator / chef-repo / cookbooks / sdc-simulator / recipes / SDC_Simulator_2_setup_configuration.rb
index 3769a1f..9ee1663 100644 (file)
@@ -6,7 +6,6 @@ else
     fe_url="http://#{node['Nodes']['FE']}:#{node['FE'][:http_port]}"
 end
 
-
 template "webseal.conf" do
    path "#{ENV['JETTY_BASE']}/config/sdc-simulator/webseal.conf"
    source "SDC-Simulator-webseal.conf.erb"
@@ -14,6 +13,7 @@ template "webseal.conf" do
    group "#{ENV['JETTY_GROUP']}"
    mode "0755"
    variables({
-      :fe_url  =>"#{fe_url}"
+      :fe_url  =>"#{fe_url}",
+      :permittedAncestors => "#{ENV['permittedAncestors']}"
    })
 end