mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 18:29:45 +02:00
Re-add the login(String, String, String) method
This commit is contained in:
parent
d081055312
commit
4b77d00e91
5 changed files with 58 additions and 51 deletions
|
@ -223,11 +223,8 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void loginNonAnonymously()
|
||||
protected void loginNonAnonymously(String username, String password, String resource)
|
||||
throws XMPPException, SmackException, IOException {
|
||||
String password = config.getPassword();
|
||||
String resource = config.getResource();
|
||||
String username = config.getUsername();
|
||||
if (saslAuthentication.hasNonAnonymousAuthentication()) {
|
||||
// Authenticate using SASL
|
||||
if (password != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue