I added a grails filter to redirect urls with www to non www url. After this change many errors have been triggered of this nature. The change was to ...
I added a grails filter to redirect urls with www to non www url. After this change many errors have been triggered of this nature. The change was to ...
I've defined a filter in grails like so: I was expecting it to handle any requests like /api/mything but ignore requests like /blahblah/mything/ a ...
In Grails 3, it seems the filters are running before the interceptors. I was wondering is it possible to make the interceptors run before the filters? ...
in my Grails application , i made a filter on a controller , all working fine except this part : and the error is : but if i changed it with fla ...
I'm trying to implement a filter that should be called in certain instances before going to a GSP page. As the URL does not differ a lot between the i ...
I need the class of the controllers that pass through a certain filter for annotation processing pruposes. Currently I can only see the controllerNam ...
Is it possible to retrieve a list of the roles/authorities required for a particular controller action/method in a Grails Filter? Assuming the Spring ...
I'm gonna create a security filter for my project. I check if !session.user then redirect to action error. Here is my current code: However the poi ...
I am using Grails version 2.2.4 and I have installed kickstart plugin as compile ":kickstart-with-bootstrap:0.9.6". I found "KickstartFilters.groov ...
I am new to grails and so far i have only been able to use simple filters. I want to use filter in an efficient manner. (I am using grails 2.4.3, wi ...
I have written one filter rule which I want to test using grails integration tests. Filter is I have followed this link to write the integration t ...
I have a method-based route like: And I'd like to apply a filter to handle authorization, e.g. But when I apply this in practice, the filter run ...
I have created a folder named 'content' under grails-app/view and serve all gsp files from there which does not require a controller action. In orde ...
This is specifically about a grails 1.3.7 application, but hopefully the answers will work for newer versions as well. The code below is a simplified ...
I am trying to do PreAuthentication using Spring Security Grails plugin. I read the pre authentication documentation given below, but could not find a ...
I'm working on a affiliate system in grails where users can create individual links and guests who are visiting this links get an cookie with an uniqu ...
I have a filter: This works great on pages where I'm using a controller to handle the request, showing the contents of test.gsp instead of the page ...
Is it possible to define multiple distinct controller in a Grails 2 web application filter? For example, something like: Otherwise, is there a way ...
In my controller action i tried to set the contentType of the response as below. In the filter i tried to set the header for all controller and act ...
What is the proper way to get access to the servletRequest and servletResponse from a Grails Filter. Not sure where these get passed in due to the bu ...