Authentication Filter Chain Testing doesn't always choose correct filter

Description

When playing with Authentication service filter chains, it was found that the filter chain test on the Authentication page didn't always choose the correct filter chain.

To replicate, create a filter chain called wms and use the ant pattern /wms/** on a filter chain with everything else left as default. Click close and then save and then navigating back to the authentication page. Then click on the find chain button with the below url displays default for the filter chain test result.

Selecting the chain filter anonymous for the default filter chain and basic for the wms filter chain above and then entering the url below in a separate browser causes the browser to show a basic authentication login dialog.

url:
http://localhost:8080/geoserver/wms?request=GetCapabilities

Environment

None

Assignee

Unassigned

Reporter

Thomas Lann

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure