|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) @InterceptorAnnotation(value=LimitedTo.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.)
Required Element Summary | |
---|---|
java.lang.String |
value
The name of role. |
Element Detail |
---|
public abstract java.lang.String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |