Le 28/02/2013 20:33, Jesse Eichar a écrit :
>
>
>
> On Thu, Feb 28, 2013 at 11:29 AM, Fabrice Phung <
fab...@phung.fr
> <mailto:
fab...@phung.fr>> wrote:
>
> Hi
>
> I reran the tests and it seems that I forgot something.
> I tested the protectedLayer and unprotectedLayer independently.
> Worked for both.
>
> 1/ seems that when both protectedLayer and unprotectedLayer are
> simultaneously set up on a given namespace, a getFeature on
> unprotectedLayer raises a BASIC auth for a non authenticated user.
> Suspecting something about a wrong anonymousUser
>
>
> This sounds fairly serious. I will look into this
I got some more infos.
I have 3 "continous integration" layers (btw, I'm trying to build a test
case for that, it would be very useful) :
* unprotectedLayer, r for *
* protectedLayer, r for SV_USER
* forbiddenLayer, r for NO_ONE (means... forbidden for everybody)
After authentication, on *protectedLayer* : getCap OK, getFeatureInfo
OK, DescribeLayer OK, getMap OK, DescribeFeatureType OK
GetFeature NOOK. In the logs, I see that access is not granted because
the user has no r rights on *forbiddenLayer*.
I think that the bug you fixed in GS 2.1 is still here : a single non
granted layer may trigger "access denied" for a sibling granted layer.
> 2/ I tested the OGC interfaces but didn't test the "SLD auto
> classification". It fails on protectedLayer for an authenticated user.
>
>
> How do you test the SLD auto classification?
Through mapfishapp. Guess that the GetFeature ACL check is faultly
(DescribeLayer and DescribeFeatureType are OK).