Skip to Main Content
Cloud Platform


This is an IBM Automation portal for Cloud Platform products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Not under consideration
Created by Guest
Created on Aug 6, 2025

Enable WebSphere ND "Test Connection" to Support Custom LoginModule via J2C-JAAS

Idea Summary:
Enhance the WebSphere ND administrative console's "Test Connection" function so that it leverages the same internal logic path used by application code, enabling support for custom credential retrieval mechanisms implemented via a custom LoginModule through the J2C-JAAS subsystem.

Detailed Description:
We have implemented our own credential retrieval via custom code into Websphere ND via a custom application login module implementing the LoginModule interface via the J2C-JAAS subsystem.

The module works:To use the custom module,  We change the Mapping Configuration Alias to use the custom module,  
set the enableContainerAuthForDirectLookups property on the connection pool 
and 
set the alias in the Container-managed authentication alias to the object we want to pass along to the module for subsequent retrieval.

This configuration works as expected when the data source is accessed by application code through JDBC.

However, when we click the “Test Connection" button in the console to test the data source, it IGNORES THE DATA SOURCE CONFIGURATION and reverts to using DefaultPrincipalMapping 

This behavior creates the following problems:
·        This is a problem for a LoginModule user because we can't use the in-built tools or scripting to validate the connection. 
·        The "Test Connection" button does authenticate with the database but is clearly using a different code path internally, as failure stack traces show it going through the driver and different internal code and ignores the custom module.
·        So, the only way to validate an application, in theory, is to hit the application code, which then triggers the module through whatever code path is provided in how an application accesses and interacts with the data source.

Workaround Identified:  
We have determined that if we retrieve the data source programmatically via JNDI, get a Connection from the DataSource object returned and call getConnection() on it, it will trigger the custom LoginModule. This allows one, through a custom application, to validate an arbitrary data source and prove it is using the custom code and is bypassing the local J2C-JAAS alias values

Proposed Enhancement:
Modify the internal logic of the "Test Connection" button to interact with JDBC in its test the same way applications do via the DataSource object.

Idea priority Medium
  • Admin
    Jahnvi Bedia
    Sep 24, 2025

    Thanks for submitting your idea.

    We are not going to add this Idea to our roadmap right now, however we’ll keep it on record and revisit it if things change in the future.

    If you want to discuss this decision further, please contact <Madhuri Mathur> at <Madhuri.Mathur@ibm.com> or <Jahnvi Bedia> at <jahnvibedia.28@ibm.com>

    Looking forward to receiving more ideas from you on the IBM Ideas Portal.