Package org.kohsuke.stapler
Annotation Type LimitedTo
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) @InterceptorAnnotation(Processor.class) public @interface 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
-
-
Element Detail
-
value
String value
The name of role. the method can be invoked only if the user belongs to this role.
-
-