Java 1.6 offers a Console class with password facilities. This could be used for the SSLManager and elsewhere.
Hello, I thought we had decided to remove prompting in bug: Bug 52131 - Eliminate DefaultKeyStore and simplify code As it introduced different behaviour between gui and non gui. Regards Philippe
If the SSLManager code is changed to use the Console, then it will work in both GUI and non-GUI mode. That would be an alternate solution to the remaining issue on Bug 52131. Even if not used in SSLManager, there will probably be other places where it could be used, e.g. it might be useful to have a password function.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2849