Announcement Announcement Module
Collapse
No announcement yet.
Method level security in GWT app Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
Working...
X