Package jadex.bridge.service.annotation
Annotation Type Security
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface Security
Set the roles that would allow access to a service interface or service method.
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
ADMIN
The admin role that is required by all jadex system services, e.g.static java.lang.String
TRUSTED
The default role that is assigned to services without security annotation and granted in all authenticated networks.static java.lang.String
UNRESTRICTED
The unrestricted role (access is granted to all), e.g.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
roles
Use predefined role: see constants unrestricted, default and admin.
-