File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSch

 
Shikha Upadhyaya
Ranch Hand
Posts: 70
Chrome
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone help me trace where the actual password authentication is done in this code?
 
Tim Moores
Bartender
Pie
Posts: 2495
9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not quite sure what you're asking, but the actual check most likely occurs during the "session.connect()" call. It wouldn't make sense to proceed after that if the credentials were incorrect. You can test that by providing incorrect credentials, and then to see what happens - meaning, in which line of code you're getting an exception.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic