diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-11-15 17:44:51 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-11-15 17:44:51 +0100 |
commit | 69ab8a2adbcaaaea3cbb9916ab0273d59f40c778 (patch) | |
tree | d1973cfe4440ea07474b9e3b98d2e434aff126fc /src/main/java/eu/siacs/conversations/crypto/sasl/ScramSha1.java | |
parent | 7ba9854c22c6bcf07356cb018a0cbc2f49377f9f (diff) | |
parent | 17cec63c14e15d1a78d124f718a4b51e4f4debd1 (diff) |
Merge pull request #668 from SamWhited/auth-pinning
Auth mechanism pinning
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/crypto/sasl/ScramSha1.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/sasl/ScramSha1.java b/src/main/java/eu/siacs/conversations/crypto/sasl/ScramSha1.java index 2073de2d..f3589fa2 100644 --- a/src/main/java/eu/siacs/conversations/crypto/sasl/ScramSha1.java +++ b/src/main/java/eu/siacs/conversations/crypto/sasl/ScramSha1.java @@ -43,7 +43,13 @@ public class ScramSha1 extends SaslMechanism { clientFirstMessageBare = ""; } - public static String getMechanism() { + @Override + public int getPriority() { + return 20; + } + + @Override + public String getMechanism() { return "SCRAM-SHA-1"; } |