mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
SMACK-279: The XMPPConnection extends the new abstract Connection class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11613 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
11a41e79ca
commit
127319a821
102 changed files with 1420 additions and 1194 deletions
|
@ -106,7 +106,7 @@ public class Authentication extends IQ {
|
|||
*
|
||||
* @param connectionID the connection ID.
|
||||
* @param password the password.
|
||||
* @see org.jivesoftware.smack.XMPPConnection#getConnectionID()
|
||||
* @see org.jivesoftware.smack.Connection#getConnectionID()
|
||||
*/
|
||||
public void setDigest(String connectionID, String password) {
|
||||
this.digest = StringUtils.hash(connectionID + password);
|
||||
|
@ -121,7 +121,7 @@ public class Authentication extends IQ {
|
|||
*
|
||||
* @param digest the digest, which is the SHA-1 hash of the connection ID
|
||||
* the user's password, encoded as hex.
|
||||
* @see org.jivesoftware.smack.XMPPConnection#getConnectionID()
|
||||
* @see org.jivesoftware.smack.Connection#getConnectionID()
|
||||
*/
|
||||
public void setDigest(String digest) {
|
||||
this.digest = digest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue