Annotation Type LimitedTo


Declares that methods are only available for requests that have the specified role(s).

This annotation should be placed on methods that need to be secured (iow protected from anonymous users.)

Author:
Kohsuke Kawaguchi
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of role.
  • Element Details

    • value

      String value
      The name of role. the method can be invoked only if the user belongs to this role.