-
Mar 1st, 2011, 02:03 AM
#1
Method level security in GWT app
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules