]> source.dussan.org Git - jgit.git/commit
Reset SSH connection and credentials on "Auth fail" 76/4676/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sun, 27 Nov 2011 00:16:49 +0000 (01:16 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 27 Nov 2011 00:16:49 +0000 (01:16 +0100)
commit430395a6690afcc8dedc2a8425f731668f071eaa
tree6aef73036e75872ad3562211e8b3c632791e223e
parentb4495d1005e6e03e921ed116614ec45499f1923d
Reset SSH connection and credentials on "Auth fail"

When SSH user/password authentication failed this may have been caused
by changed credentials on the server side. When the SSH credentials of a
user change the SSH connection needs to be re-established and
credentials which may have been stored by the credentials provider
need to be reset in order to enable prompting for the new credentials.

Bug: 356233
Change-Id: I7d64c5f39b68a9687c858bb68a961616eabbc751
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/CredentialsProvider.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/JschConfigSessionFactory.java