uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.3.4 @RolesAllowed

Organization of this subsection
(1) Description
(2) Element

(1) Description

Set a security role for permitting access to a class or method.

(2) Element

The following table lists the elements of @RolesAllowed:

Element name Function
value Specify the list of roles that have permission to access methods in an application.

The details of each element are as follows:

(a) value element

Type
String[]

Description
Specify the list of roles that have permission to access methods in an application.

Default value
None