Use this page to view and modify how the resource references of
application modules map to the actual resources that are configured for the
application.
To view this administrative console page, click Applications > Enterprise
Applications > application_name > Map resource references to
resources.
Guidelines for using this administrative console page:
- If your application uses any of the following resource types, you can
make mapping adjustments:
- Mail session
- URL configuration
- Data source
- J2C connection factory
- JMS queue connection factory for the JMS provider of WebSphere MQ
- JMS queue destination for WebSphere MQ
- JMS topic connection factory for WebSphere MQ
- JMS topic destination for WebSphere MQ
- Unified JMS connection factory for WebSphere MQ
- Generic JMS connection factory
- The page is comprised of sections that correspond to each applicable resource
type. Each section heading is the class name for the resource. If your application
contains only one applicable resource type, you see only one section.
- Each section contains steps for mapping your configured resource type
to your resource references. A table is displayed after the steps. If your
application contains only one applicable resource type, however, this console
page might display the table only.
- Each table row depicts a resource reference within a specific module of
your application.
- To modify your mappings if this console page does not display a drop-down
list of Java Naming and Directory Interface (JNDI) names:
- Select a row to edit.
- Highlight and delete the JNDI name of the resource that you no longer
want to specify as the mapping target.
- Type the JNDI name of the new mapping target, which must be a resource
that is currently configured for your application.
- Repeat the previous steps for each configuration you want to change.
- Click OK. You now return to the general configuration page for
your enterprise application.
- To modify your mappings if this console page displays a drop-down list
of JNDI names for configured resources:
- Select one or more rows in this table to edit. If you select multiple
rows, the configured resource that you choose as the new mapping target is
bound to every resource reference in your selection.
- From the list, select the Java Naming and Directory Interface (JNDI) name
of the resource that you want to designate as the new mapping target.
- Click Apply. You now see the JNDI name of the new mapping target
in the table rows.
- For data sources and connection factories: Sections for these resource
types contain an additional set of steps for modifying your security settings.
Use the last column in the displayed table to view the authorization type
for each resource configuration per application module. You can modify the
corresponding authentication method only if the authorization type is container.
Container-managed authorization indicates that WebSphere Application Server
performs signon to the resource rather than the enterprise bean code. The
reconfiguring process differs slightly for each authentication method option:
- If you select None:
- Determine which resource 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 resources to designate with the WebSphere Application
Server DefaultPrincipalMapping login configuration. You must apply this option
to each resource 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 resources 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: