« Return to Thread: Logging in Filters

Re: Logging in Filters

by Darryl Pentz :: Rate this Message:

Reply to Author | View in Thread

Last but not least, I see there are times when the actionName is null in my filter, which unfortunately screws with my security logic.

I assume this is because the filter intercepts the request at a point where the URL has not been properly mapped to a controller and its action? In this case, a call to /myapp/login yields controllerName = login, actionName = null.

Is this expected behaviour or a bug?

- DP

Darryl Pentz wrote:
Am I correct to assume there is no implicit 'log' object in a filter. I know the docs don't mention one and the groovy compiler complains accordingly.

Is this planned for 1.0 Final?

Just curious.

- Darryl

 « Return to Thread: Logging in Filters