Questo contenuto non è disponibile nella lingua selezionata.
18.2. EJB Security Parameter Reference
Element | Description |
---|---|
<security-identity>
|
Contains child elements pertaining to the security identity of an EJB.
|
<use-caller-identity />
|
Indicates that the EJB uses the same security identity as the caller.
|
<run-as>
|
Contains a
<role-name> element.
|
<run-as-principal>
|
If present, indicates the principal assigned to outgoing calls. If not present, outgoing calls are assigned to a principal named
anonymous .
|
<role-name>
|
Specifies the role the EJB should run as.
|
<description>
|
Describes the role named in
. <role-name>
|
Example 18.1. Security identity examples
This example shows each tag described in Table 18.4, “EJB security parameter elements”. They can also be used inside a
<session>
.