Version: 12.0.3-8
Build #: 29981
Build Date: 2012-Oct-31 11:26:44 AM
Copy and paste password into ssh terminal displays the password instead of ********
To reproduce
1. Open a SSH terminal with no password saved
2. SSH terminal prompts for password.
3. Now copy your password from a notepad and paste it to the SSH terminal using the mouse or the Paste button available in the toolbar
4. The password is displayed instead of showing *******
|
87 KB
I traced source code:
(1) clicking the paste button displayed in SSH terminal will call
AbstractTerminalWrapper::onPase() -> Term.pasteFromClipboard()
(2) the mouse listener to handle the right-mouse click is implemented by Term.java at line#2131
which will call Term.pasteFromClipboard() as well
Can you take a look?
Fixed the AuthTermWrapper.sendChars()
method. If you use your own class ( TermAuth
if I remember well, see instantiation inside Vt100TerminalWrapper.createSessionAndConnect()
) you need to to fix the same method there using the updated source code from AuthTermWrapper.sendChars().
Fixed the AuthTermWrapper.sendChars()
method. If you use your own class ( TermAuth
if I remember well, see instantiation inside Vt100TerminalWrapper.createSessionAndConnect()
) you need to to fix the same method there using the updated source code from AuthTermWrapper.sendChars().
Verifed in 12.0.5-2. Need to talk to Fung regarding Emils comment - see instantiation inside Vt100TerminalWrapper.createSessionAndConnect()
) you need to to fix the same method there using the updated source code from AuthTermWrapper.sendChars().
Verifed in 12.0.5-2. Need to talk to Fung regarding Emils comment - see instantiation inside Vt100TerminalWrapper.createSessionAndConnect()
) you need to to fix the same method there using the updated source code from AuthTermWrapper.sendChars().
I could find neither TermAuth nor Vt100TerminalWrapper in the system. There is a SshTerminalWrapper.createSessionAndConnect() which creates an instance of AuthTermWrapper.
I could find neither TermAuth nor Vt100TerminalWrapper in the system. There is a SshTerminalWrapper.createSessionAndConnect() which creates an instance of AuthTermWrapper.
If you cannot find such classes, then it means that custom implementation is no more used in ADS during the authentication step, which is even better, because on my side it is easier to debug issues that arise on Terminal GUI or to maintain the source-code.
If you cannot find such classes, then it means that custom implementation is no more used in ADS during the authentication step, which is even better, because on my side it is easier to debug issues that arise on Terminal GUI or to maintain the source-code.
Sorry, the name was not VT100TerminalWrapper
but VT100TerminalPanel
(inside com.common.terminal
package) and TermAuth was instantiated inside the createSession()
method (as I can see from some code snippet from March, 2011).
Probably these classes are no more used (ADS v12 behaviour indicates this) and if the original issue works fine with the vt100-2.1.5 release integrated into ADS, then this issue can be closed.
Sorry, the name was not VT100TerminalWrapper
but VT100TerminalPanel
(inside com.common.terminal
package) and TermAuth was instantiated inside the createSession()
method (as I can see from some code snippet from March, 2011).
Probably these classes are no more used (ADS v12 behaviour indicates this) and if the original issue works fine with the vt100-2.1.5 release integrated into ADS, then this issue can be closed.
createSession() method is no longer defined in VT100TerminalPanel.java. VT100TerminalPanel.java creates an instance of SshTerminalWrapper which in turns creates an instance of AuthTermWrapper and did not overwrite the sendChars() method.
createSession() method is no longer defined in VT100TerminalPanel.java. VT100TerminalPanel.java creates an instance of SshTerminalWrapper which in turns creates an instance of AuthTermWrapper and did not overwrite the sendChars() method.
Issue #7897 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build vt100-2.1.5 |
No time estimate |
I traced source code:
(1) clicking the paste button displayed in SSH terminal will call
AbstractTerminalWrapper::onPase() -> Term.pasteFromClipboard()
(2) the mouse listener to handle the right-mouse click is implemented by Term.java at line#2131
which will call Term.pasteFromClipboard() as well
Can you take a look?