When performing a Data Model Scanning step in TDM Portal for a connection profile using a custom security plugin, the scan fails with the following error: The Scan cannot be completed. Exception raised: connection profile: [Profile_Name] cannot be used: CredentialsRetrievalFailureException: Credentials retrieval failed
Technical Details (TDMModelService.log): The logs show an underlying IllegalStateException or NoClassDefFoundError related to Kerberos or security libraries: java.lang.IllegalStateException: The native Kerberos library was not loaded, check the cause for details java.lang.NoClassDefFoundError: Could not initialize class ms.request.auth.MSSPNegoHelper
The error typically occurs because the TDM Model Service cannot locate the necessary Kerberos or security-related JAR files required by the custom security plugin (e.g., SecureCredentialsVault or msjava libraries). Even if the connection itself is NTLM-based, the initialization of the security plugin may trigger a search for these native libraries.
To resolve the issue, ensure all required security and Kerberos dependencies are available to the TDM Portal services:
.jar files to the following directory on the TDM Portal server:C:\Program Files\CA\CA Test Data Manager Portal\tomcat\lib\