Hi, everyone!

I am currently configuring my IM server with Vysper. I did everything based on 
the documentation. And it worked fine for me. However I have a question about 
user authentication.

I implemented the interface UserAuthentication but in the method:

boolean verifyCredentials(String username, String passwordCleartext, Object 
credentials);

There is three parameters, the first two are easy to understand as we always 
type in username and password to login. But I can not get clear what the third 
one, credentials, a java object is used for. I logged it in my 
verifyCredentials implementation but it seems to be null (and always null) when 
I logged in with the Messages App in OS X. Since I am new to XMPP Protocol, I 
have no idea what the object credentials is. So can anyone explain this? Thanks 
in advance.

Sincerely,
Ye Wang
[email protected]

Reply via email to