anotherim/src/main/java/eu/siacs/conversations/crypto/sasl/Anonymous.java

31 lines
643 B
Java
Raw Normal View History

2016-08-07 14:46:01 +00:00
package eu.siacs.conversations.crypto.sasl;
import java.security.SecureRandom;
import eu.siacs.conversations.entities.Account;
import eu.siacs.conversations.xml.TagWriter;
public class Anonymous extends SaslMechanism {
2020-12-31 08:32:05 +00:00
public static final String MECHANISM = "ANONYMOUS";
public Anonymous(TagWriter tagWriter, Account account, SecureRandom rng) {
super(tagWriter, account, rng);
}
@Override
public int getPriority() {
return 0;
}
@Override
public String getMechanism() {
return MECHANISM;
}
@Override
public String getClientFirstMessage() {
return "";
}
2016-08-07 14:46:01 +00:00
}