package nu.fw.jeti.jabber.elements; import nu.fw.jeti.jabber.Backend; /** *
Title: im
*Description:
*Copyright: Copyright (c) 2001
*Company:
* @author E.S. de Boer * @version 1.0 */ public class IQAuth extends Extension implements IQExtension { /** @todo add zeroK */ private String username; private String password; private String digest; private String resource; // private String zeroKHash; // private String zeroKToken; // private String zeroKSequence; public IQAuth(String username, String password,String resource) { this.username = username; this.password = password; this.resource = resource; } protected IQAuth(IQAuthBuilder iqab) { username = iqab.username; password = iqab.password; digest = iqab.digest; resource = iqab.resource; } public boolean hasDigest() { return digest != null; } public void execute(InfoQuery iq,Backend backend) { } public void appendToXML(StringBuffer xml) { xml.append("