Hitachi

uCosminexus Application Server Security Management Guide


9.5.1 Enterprise Bean security identities

Define the Enterprise Bean security identities.

The two types of security identities, "UseCallerIdentity" and "RunAs", can be set.

Organization of this subsection

(1) Attribute files to be edited

Edit the following attributes files for each type of Enterprise Beans.

(2) Obtaining the attribute file to be edited and setting up attributes

(3) Attribute settings to be edited

The following table lists the Enterprise Bean security definition (security identity) settings (<security-identity>).

Item

Required

Tag name

Description

O

<description>

With security identity setting

O#

<use-caller-identity>

Description on role identity

O

<run-as> - <description>

Security role name

O#

<run-as> - <role-name>

Name specified in security role

O

<run-as> - <user-name>

Legend: O: Optional

#: Set either of the following items depending on whether the caller's security identity is used when a method is executed.

  • The caller's security identity is used when a method is executed:

    Specify whether the security identity is set (<use-caller-identity>).

  • The caller's security identity is not used when a method is executed:

    Set role identity information (<run-as>).

  • Only set role identity (<run-as>) information for message-driven beans.

For details about property settings, see: