WAS v8.5 > Reference > Sets

Map data sources for all 2.x CMP beans

Use this page to set the default data source mapping for EJB modules containing 2.x container-managed persistence beans. Unless you configure individual data sources for the 2.x CMP beans, this default mapping applies to all beans within the module.

To view this dmgr console panel, click Applications > Application Types > Websphere enterprise applications > application_name > Map data sources for all 2.x CMP beans .

This panel displays a table that depicts the EJB modules in the application containing 2.x CMP beans. Each table row corresponds to a module. A row shows the JNDI name of the data source mapping target of the EJB module only if you bound them together during application assembly. For every data source that is displayed, you see the corresponding security configuration.


Set Multiple JNDI Names

JNDI name to bind to one or more modules. Select one or more modules, click Set Multiple JNDI Names, and select the JNDI name for the resource to which you would like to bind the module.


Set Authorization Type

Authorization type that you to use for the modules. Select one or more modules, click Set Authorization Type, and select the authorization type.

Choose:


Modify Resource Authentication Method

Specifies the resource authentication method for the modules that we have configured with container-managed authorization. Select one or more modules, click Modify Resource Authentication Method, and select the authentication method.

Choose between the following authentication methods:


Select

Select the check boxes of the rows to edit.


EJB Module

Name of the module containing the 2.x enterprise beans.


URI

Location of the module relative to the root of the application EAR file.


JNDI name

JNDI name of the default data source for the EJB module.
Information Value
Data type String


Resource authorization

Authorization type and the authentication method for securing the data source.


Extended Datasource Properties

When selected, you will be directed to a panel on which we can specify extended properties the module can use for the DB2 data source.

The application server will attempt to verify that you are connecting to the correct type of database when we select this option.


Related


Configure Kerberos as the authentication mechanism


+

Search Tips   |   Advanced Search