uCosminexus Application Server, API Reference Guide

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

2.3.5 @RunAs

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

(1) Description

Set the security role that is applied when executing Servlet or Enterprise Beans. Note that you can specify multiple resources only in a class.

(2) Element

The following table lists the elements of @RunAs:

Element name Function
value Specify the security role name that is applied when executing Enterprise Beans.

The details of each element are as follows:

(a) value element

Type
String

Description
Specify the name of the security role that is applied when executing Servlet or Enterprise Beans.

Default value
None