Package org.kohsuke.stapler
Annotation Interface 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
-
Nested Class Summary
-
Required Element Summary
-
Element Details
-
value
String valueThe name of role. the method can be invoked only if the user belongs to this role.
-