Configuring WebSphere Application Server for distributed network security credentials
You can enable IMS to audit the network security credentials that are passed to and from a Java™ EE application that runs on WebSphere® Application Server.
Before you begin
Before you enable support for distributed network security credentials that are passed from your Java EE application, ensure that the following items are enabled:
- Container-managed security for your application. If your application does not have container-managed security, you might have to modify your application’s web.xml file.
- An external user account registry, such as an LDAP server, that contains authorized users.
About this task
The following procedure makes the following assumptions:
- That you are use an LDAP server as the external user registry. However, you can use any other user registry that is supported by WebSphere Application Server.
- That you use IMS_Login as the alias name for the login module that you create.
- That a login module is linked to a simple imsicoivp.ear application, which sends a /STA OTMA command.
Procedure
Results
After you map the login module to your application, you are prompted to enter a user name and
password when you start and open your application in your web browser. Enter your distinguished name
as the user name. The following example of a log file snippet shows that the IMS TM resource adapter successfully received the distributed
network security
credentials:
********************
TMRA has received the following credentials:
Security Realm: '0.0.0.0:10389'
Distinguished Name: 'uid=admin,ou=users,dc=security,dc=com'
Authenticated?: 'true'
********************If the credentials are valid and exist in the LDAP registry, the distinguished name and realm are propagated to IMS.