I created a user, password and a role, granted access to the layer 'myfeature' only for that role. Now I want to test whether the access restriction works, but I cannot find any documentation about how the parameters must be set for user access in a ordinary WFS request.
however, neither:
http://mygeoserver/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=myworkspace:myfeature&
nor
http://mygeoserver/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=myworkspace:myfeature&user=myusernamer&password=mypassword&
work, unless I disable the access restriction.