Package jadex.providedservice.annotation
Annotation Interface Security
Set the roles that would allow access to a service interface or service method.
-
Optional Element Summary
Optional Elements -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The admin role that is required by all jadex system services, e.g.static final String
The default role that is assigned to services without security annotation and granted in all authenticated networks.static final String
The unrestricted role (access is granted to all), e.g.
-
Field Details
-
UNRESTRICTED
The unrestricted role (access is granted to all), e.g. used for chat.- See Also:
-
TRUSTED
The default role that is assigned to services without security annotation and granted in all authenticated networks.- See Also:
-
ADMIN
The admin role that is required by all jadex system services, e.g. CMS.- See Also:
-
-
Element Details
-
roles
String[] rolesUse predefined role: see constants unrestricted, default and admin. Custom role(s): Allow only authentication secrets (e.g. network or platform key) that are locally given at least one of the requested roles.- Default:
{"trusted"}
-