I have implemented the UserInfo interface and provided code for all the necessary callback methods.

However, while debugging I figured out that the showMessage() method is called sometimes while on a couple of occasions it is not being called.

Also, it does not display the complete information before prompting for a password.

At times, even before calling the getPassword() method, it throws an Exception : Auth fail

Can anybody tell me why this might be happening ?

If you can guide me to the correct usage of the UserInfo interface that would be great too.


Prasad Shindikar