I'm working with ROO and Spring Security, and I wanted to secure a form. I want to allow users list books (..../books), but I want to secure the editing and creating form (.../books?form).
I tried to put the next code into the applicationContext-security.xml file:
But it didn't work. Any idea about the correct url pattern to secure the form?Code:... <intercept-url pattern="/books*form" access="hasRole('ROLE_ADMIN')"/> <intercept-url pattern="/books" access="hasRole('ROLE_USER')"/> ...