Hi Jesse
Long story for short, this is a bug. As far as I can remember I wrote the tutorial based on an early 2.3.x version not having this bug. You can try to edit the config.xml file directly.
The authentication filter chain logic has been reworked completely for 2.3.x series and since this rework includes migration logic, I cannot backport to 2.2.x.
If it is possible, have a look at the upcoming GeoServer 2.3.x version
http://geoserver.org/display/GEOS/Latest
You will see a lot of improvements. As an example, you can have chains with the same Ant pattern(s) responsible for different HTTP methods. (Anonymous auth for GET and POST, basic auth for PUT and DELETE).
If its possible put your focus on 2.3.x. Additional info is here
http://geoserver.org/display/GEOS/GSIP+82+-+Reworking+security+filter+chains
http://geoserver.org/display/GEOS/GSIP+91+-+Enhance+authentication+filter+chain+configuration
Sorry for the inconvenience
Christian
Zitat von Jesse Eichar <jesse.eichar@anonymised.com>:
Hi,
I am trying to following the instructions in:
http://docs.geoserver.org/latest/en/user/security/tutorials/httpheaderproxy/index.html
The first step works fine (adding new filter). But when I modify the
"Default" filter chain (add the proxy filter and remove basic) it doesn't
save when I press save. I pressed save, then refreshed page to ensure that
it saved. But the original filter chains were restored. I also checked
the data_dir/security/config.xml and saw that it was unchanged.
I have tried Geoserver 2.2.1, 2.2.2, 2.2.3, 2.2.4
I have the source code open and am willing to try and fix the issue. Any
ideas how to debug/fix? Does it work for other people?
I put a breakpoint in AuthenticationPage in the submit link onSubmit and it
is never executed.
Jesse
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.