Set the security role that is applied when executing Servlet or Enterprise Beans. Note that you can specify multiple resources only in a class.
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: