As I wrote some hours ago, you can use only one username/password in geowebcache.xml. Because in your case you want to connect with several WMS services using different usernames and passwords it just does not work. This limitation could be worth making a feature request. Meanwhile you'd better investigate some proxy systems and/or try to find funding for contracting the development work.
You have already tried Geoserver as a proxy but perhaps you quit too easily. How about securing cascaded layers so that only your GWC user has rights for them? I do know that InteProxy works too.
-Jukka Rahkonen-
-----Alkuperäinen viesti-----
Lähettäjä: mano3688 [mailto:mano3688@anonymised.com]
Lähetetty: 19. joulukuuta 2012 16:45
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] How can I configure user name/password in
geowebcache.xml for wmslayers?
I am planning to stop to use Cascading WMS layers approach now.
if I use this approach,I have to publish the layer locally in geoserver.
But I don't want to publish the layer in geoserver.
So, How can directly access the external service layer using geowebcache.xml
file configuration with specific username and password for each layer?
Because I am plan to access the layer directly without local geoserver.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-
can-I-configure-user-name-password-in-geowebcache-xml-for-wmslayers-
tp5023835p5023929.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
I haven't the time to try it but I think the order is relevant. At least
that is what I foggily recall and more importantly that is what my
XML-editor tells me. So, please see the example below. I think <wmsUrl>
after <httpUsername> and <httpPassword> doesn't work.
Sorry for late response.
Order is not a problem.It should work.
I have tried using my layer
like <wmsUrl> after <httpUsername> and <httpPassword>
and
<wmsUrl> before <httpUsername> and <httpPassword>.