0
votes

For my Grails Spring Security Plugin (2.0-RC2) configuration in Config.groovy, is there an equivalent to

<http pattern="/css/**" security="none"/>

in the XML configuration? I'm attempting to redirect to a failed authentication page (inside a custom filter), but it causes a redirect loop, as the page I am attempting to redirect to is "protected".

I've attempted altering the filter chain map for the specific route that I want to not be secured, but to no avail. It still executes the custom filter where auth fails.

1

1 Answers

1
votes

Your best bet is to alter the filter chain for your URIs. Check out the filters chapter of the documentation. By altering the filter chain for specific URIs you can control which filters get applied.