From bb424bd74f7504af93b5e5c708f807ce0b6fdca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Van=20Der=20Biest?= Date: Thu, 10 Jan 2013 17:09:31 +0100 Subject: [PATCH] mapfishapp: printing protected layers from local geoserver is now allowed --- mapfishapp/print/config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mapfishapp/print/config.yaml b/mapfishapp/print/config.yaml index 84a1fd7..37ae6d1 100644 --- a/mapfishapp/print/config.yaml +++ b/mapfishapp/print/config.yaml @@ -57,6 +57,17 @@ scales: #~ - 279541131.964285732 #~ - 559082263.928571464 +#=========================================================================== +# printing protected layers +#=========================================================================== +security: + - !basicAuth + matcher: !dnsMatch + host: @shared.server.name@ + username: @shared.privileged.geoserver.user@ + password: @shared.privileged.geoserver.pass@ + preemptive: true + #=========================================================================== # the list of allowed hosts #===========================================================================