<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Buongiorno,<br>ho dei problemi con la configurazione di geoserver,<br>in particolare vorrei rendere disponibili degli SHP file,<br>questa la configurazione:<br>la versione geoserver è la 2.1-RC4<br>tomcat 6.0.32<br>in geoserver ho aggiunto un utente specifico<br>e un ruolo a cui è associato l'utente, tipo:<br>utente: pippo<br>ruolo: ruolo_pippo<br>poi ho creato un workspace, uno store a cui ho aggiunto shp file, tipo:<br>ws<br>my_store, con una decina di shp<br>quindi al ws ho dato il seguente tipo di accesso:<br>ws.*.r<br>infine ho dato come catalog mode = challenge<br><br>in questa maniera se mi loggo a geoserver con utente pippo,<br>riesco a vedere i dati a visualizzarli con openlayer,<br>riesco a vedere questi stessi dati ad esempio con il mapviewer di<br>tramite geonetwork (dopo che il browser mi chiede di autenticarmi)<br><br>Il mio problema è invece che se utilizzo la stringa tipo:<br><a href="http://vmigg.iit.cnr.it:8080/geoserver/thermoGIS/wms?service=WMS&version=1.1.0&request=GetMap&layers=thermoGIS:pozzi_vigor_world_mercator&styles=&bbox=1322259.096,4214374.227,2024561.395,5149031.438&width=384&height=512&srs=EPSG:900913&format=application/openlayers" target="_blank">http://my_ip_server:8080/<wbr>geoserver/my_application/wms?<wbr>service=WMS&version=1.1.0&<wbr>request=GetMap&layers=<wbr>my_workspace:my_layer&styles=&bbox=1322259.<wbr>096,4214374.227,2024561.395,<wbr>5149031.438&width=384&height=<wbr>512&srs=EPSG:900913&format=<wbr>application/openlayers</a><br><br>il browser mi chiede di autenticarmi chiedendomi:<br><br>A username and password are being requested by http://my_ip_server:8080. The site says: "GeoServer Realm"<br><br>una volta inserite le credenziali<br>queste mi vengono chieste ripetutamente, senza soluzione....<br><br>se annullo la richiesta del popup visualizzo la pagina:<font style="font-size: 8pt;" size="1"><br><br>HTTP Status 401 - Full authentication is required to access this resource</font><hr noshade="noshade" size="1"><font style="font-size: 8pt;" size="1"><b>type</b></font><font style="font-size: 8pt;" size="1"> Status report</font><BR><font style="font-size: 8pt;" size="1"><b>message</b></font><font style="font-size: 8pt;" size="1"> </font><font style="font-size: 8pt;" size="1"><u>Full authentication is required to access this resource</u></font><BR><font style="font-size: 8pt;" size="1"><b>description</b></font><font style="font-size: 8pt;" size="1"> </font><font style="font-size: 8pt;" size="1"><u>This request requires HTTP authentication (Full authentication is required to access this resource).</u></font><BR><hr noshade="noshade" size="1"><h3><font style="font-size: 8pt;" size="1">Apache Tomcat/6.0.32</font></h3><br><br>cosa c'è che non va?<br><br>Grazie<br><br>Eugenio<br>                                         </div></body>
</html>