Method level security in GWT app
I have developed a sample application using GWT and spring security by following this tutorial:
Now I want to add method level security, hence I added the following line in the applicationContext.xml:
<global-method-security secured-annotations="enabled" />
and the added annotation to the service method:
public String greetServer(String input) throws IllegalArgumentException
Still I'm able to call the method with non admin user (ROLE_USER). Can anyone help me fix this issue.