uCosminexus Application Server, API Reference Guide

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

2.3.1 @DeclareRoles

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

(1) Description

Set the security role reference. Note that you can specify multiple resources only in a class.

(2) Element

The following table lists the elements of @DeclareRoles:

Element name Function
value Specify the security role name to be referenced.

The details of each element are as follows:

(a) value element

Type
String[]

Description
Specify the security role name to be referenced.

Default value
None