Hi

I have developed a sample application using GWT and spring security by following this tutorial:
http://www.javacodegeeks.com/2010/12...-security.html

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:

@Secured({"ROLE_ADMIN"})
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.


Thanks
Amit Khanna