so i installed templates and added a filter to web.xml like so:
but i'm trying to access a session scoped bean in the filter implementation, and i'm getting:
i'm thinking my filter needs to appear after "grailsWebRequest" (and yet before "springSecurityFilterChain" per my original issue),
Caused by: java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
... 23 more
but it's not clear to me how to effect this as neither of the filter-mapping elements i (in theory) need to sandwich in between are present in the template...?