|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={TYPE,METHOD,FIELD}) @InterceptorBinding public @interface RestrictedAccess
Indicates that the service or element can only be accessed / shown by logged-in users who belong to all of the given security roles.
This annotation can appear anywhere the Service
annotation can
appear or where DataField
Service
,
DataField
Optional Element Summary | |
---|---|
String[] |
roles
The set of roles that the calling user must belong to in order to invoke the target service. |
public abstract String[] roles
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |