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.

<wmsLayer>
      <name>SATELLITE_TEST_Google</name>
      <metaInformation>
        <title>Aerial Landcover Vic</title>
        <description>Melbourne April 2008</description>
      </metaInformation>
      <mimeFormats>
        <string>image/jpeg</string>
      </mimeFormats>
      <gridSubsets>
        <gridSubset>
          <gridSetName>EPSG:900913</gridSetName>
          <extent>
            <coords>
              <double>16085588.053641856</double>
              <double>-4608973.99366228</double>
              <double>16202712.472780583</double>
              <double>-4510011.0877771191</double>
            </coords>
          </extent>
          <zoomStart>0</zoomStart>
          <zoomStop>20</zoomStop>
        </gridSubset>
      </gridSubsets>
      
      <wmsUrl>
        <string>http://imagestest.land.vic.gov.au/ecwp/ecw_wms.dll</string>
      </wmsUrl>
      <wmsLayers>ALG_MELBOURNE_2011APR08_AIR_VIS_10CM_MGA55</wmsLayers>
      <httpUsername>cm85</httpUsername>
      <httpPassword>xxxx</httpPassword>
      <expireCache>-2</expireCache>
      <expireClients>-1</expireClients>
      <backendTimeout>240</backendTimeout>
      <cacheBypassAllowed>false</cacheBypassAllowed>
      <queryable>false</queryable>
    </wmsLayer>   



-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:        +61-3-8636 2325
Telefax:              +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-can-I-configure-user-name-password-in-geowebcache-xml-for-wmslayers-tp5023835p5024193.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

Reply via email to