Hi David,

Thanks very much for your answer. It works with the Challenge mode. However,
is there any to only display the available layers for a specific role???
I've tried hide mode, but however, using this approach, no layer is
displayed in any type of role.
Best regards,

Hugo

On Fri, Oct 8, 2010 at 5:10 PM, David Winslow <[email protected]> wrote:

> Try setting the mode to CHALLENGE instead.  MIXED mode causes GeoServer to
> filter the Capabilities document without giving the client any clue that
> there might be secured layers, CHALLENGE mode will list them all so that the
> client at least knows they exist so it can try requesting them.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Fri, Oct 8, 2010 at 11:47 AM, Hugo <[email protected]> wrote:
>
>> Hello all,
>>
>> I'm having some difficulties to implemente layer-level security in
>> geoserver 2.0 snapshot.
>> I have 2 different roles: ROLE_ADMINISTRATOR and Test.
>> If i configure the layers.properties file like the follwoing:
>>
>> *.*.r=ROLE_ADMINISTRATOR
>> *.*.w=ROLE_ADMINISTRATOR
>> repivet.*.r=Test
>> mode=MIXED
>>
>> When i try to load any wms into qgis or udig, none of the roles is
>> detecting any layer in the WMS GetCapabilities request.
>> Am i doing something wrong here or is this a known problem??
>> Thanks in advance.
>> Best regards,
>> Hugo
>>
>> --
>> Hugo Martins
>> FMV-UTL
>> CIISA-Epidemiologia e Saúde Pública Veterinária
>> Av. da Universidade Técnica
>> 1300-477 Lisboa
>> N 38°42'49.54", W 9°11'43.42"
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>


-- 
Hugo Martins
FMV-UTL
CIISA-Epidemiologia e Saúde Pública Veterinária
Av. da Universidade Técnica
1300-477 Lisboa
N 38°42'49.54", W 9°11'43.42"
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to