Use this page to view and modify how the container-managed persistence
(CMP) 2.x beans of an application map to data sources that are configured
for the application.
To view this administrative console page, click Applications > Enterprise
Applications > application_name > Map data sources for all 2.x
CMP beans.
Guidelines for using this administrative console page:
- The page contains several sets of steps that are followed by a table.
The table depicts the 2.x enterprise bean contents of your application.
- Each table row corresponds to a bean within a specific application module.
Each row also shows the data source mapping target of the bean, as well as
the security configuration for the data source.
- Select one or more rows in the table and follow the steps to apply new
mapping targets and data source security settings to your CMP beans. Each
set of steps directs you to modify a different configuration property:
To
modify a CMP bean to data source mapping, select the Java Naming and Directory
Interface (JNDI) name of an existing data source from the provided list. Click Apply.
To
modify the authorization type of a data source, select rows to edit and choose
either Container or Application from the displayed list. Container-managed
authorization indicates that WebSphere Application Server performs signon
to the data source. Application-managed authorization indicates that the enterprise
bean code performs signon. Click Apply.
To modify the authorization
method of a data source with container-managed authorization, you have three
options: None, Default, or Custom login configuration. The reconfiguring process
differs slightly for each option:
- If you select None:
- Determine which data source configurations to designate with no authentication
method.
- Select the appropriate table rows.
- Select None from the list of authentication method options that
precede the table.
- Click Apply.
- If you select Default:
- Determine which data source configurations to designate with the WebSphere
Application Server DefaultPrincipalMapping login configuration. You must apply
this option to each data source individually if you want to designate different
authentication data aliases. See the "J2EE Connector security" information
center topic for more information on the default mapping configuration.
- Select the appropriate table rows.
- Select Use default method from the list of authentication method
options that precede the table.
- Select an authentication data entry or alias from the list.
- Click Apply.
- If you select Custom login configuration:
- Determine which data source configurations to designate with a custom
Java Authentication and Authorization Service (JAAS) login configuration.
See the "J2EE Connector security" information center topic for
more information on custom JAAS login configurations.
- Select the appropriate table row.
- Select Use custom login configuration from the list of authentication
method options that precede the table.
- Select an application login configuration from the list.
- Click Apply.
- To edit the properties of the custom login configuration, click Mapping
Properties in the table cell.
Table column heading descriptions: