I have Geoserver and Geofence properly installed and configured. I have rules in place for different users and their access to various layers. HOWEVER, when I send a WFS request for a layer, how can I add authentication info for that user?
I tried putting the authorization in a header to no avail. On the server logs I see the following when I make the request:
Requesting access for RuleFilter[user:""+ role:ANY inst:name+:default-gs ip:"---.---.---.---"+ serv:"WFS"+ req:"GETFEATURE"+ ws:"rapid"+ layer:"ecologically_significant_areas"+]
How do I tell Geofence which user to use?