On Mon, Nov 1, 2010 at 10:51 AM, web <[email protected]> wrote: > Thanks for your answer. > > Actually it is more a security issue than virtual service. The example I > provided had some problems because of my layer configuration. So if I take > an example basing on the spearfish (sf) workspace, I create a new user, new > role, set permission "read" to this user for the layer "sf:archsites" > (security mode is mixed). > > 1) The layer do not appear anymore in the getcap, what is a good thing. > > 2) GetMap should ask me for authentication, but it returns first an HTTP 302 > error that show the location: > "http://localhost:8080/geoserver/admin/login.do", then when I try to access > this url to perform auth, it show an HTTP 404 error. Do you think this URL > is wrong? Because this way I never receive an HTTP 401 to challenge auth.
If you want a challenge auth you need to set your security in either mixed or challenge mode. What have you set? Cheers Andrea ----------------------------------------------------- Ing. Andrea Aime Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
