A possible suggestion on how to fix the CSRF issue

A possible suggestion to fix the CSRF issue raised here:
github.com/grails-plugins/grails-spring-security-ui/issues/9

I've only tested this in my app which doesn't take full advantage of all of the spring security ui.

Adding CSRF protection using withForm/invalidToken/useToken="true"
in the controllers and views.