credentials ignored
Hi there! I am new mapfish as a standalone service but i've been using version 2.1.3 as a print-lib extension in geoserver.
I'd like to have some more information about how to pass credentials to a geoserver private layer(Using MapFish v3).
i am using the following yaml conf:
credentials:
- !credential
matchers:
- !localMatch {}
- !ipMatch
ip : myip
password: pass
username: user
My configuration is actually quite easy there's an apache server forwarding request to a tomcat container where Geoserver and Mapfish stands together, anyway even with credentials set geoserver keeps failing authentication from mapfish request, any ideas? Do i have to write any path regex into mapfish dnsMatch or ipMatch?Unluckyly, I haven't found any examples about basic authentication.
Thanks, A.
Guys any updates on this?
I have the exact same problem, credentials for local calls are ignored, basically, I'm not able to make calls to GeoServer to load layers that need auth from mapfish print.
my config:
credentials:
- !credential
matchers:
- !dnsMatch
host: our.local.dns.com
port: -1
- !localMatch
port: -1
username: someuser
password: somewd
- !credential
matchers:
- !dnsMatch
host: some.domain.call.com
username: user
password: pwd
the some.domain.call.com works, but our.local.dns.com and !localMatch does not