From ac5d9d56c618ffc63e4bcebde9c562d25d888005 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 1 Jun 2016 13:10:11 +0200 Subject: [PATCH] Do not base64 twice in SASL X-OAUTH2 Fixes SMACK-722. --- .../jivesoftware/smack/sasl/core/SASLXOauth2Mechanism.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/sasl/core/SASLXOauth2Mechanism.java b/smack-core/src/main/java/org/jivesoftware/smack/sasl/core/SASLXOauth2Mechanism.java index a271f01a7..e066fb87d 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/sasl/core/SASLXOauth2Mechanism.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/sasl/core/SASLXOauth2Mechanism.java @@ -1,6 +1,6 @@ /** * - * Copyright 2014-2015 Florian Schmaus + * Copyright 2014-2016 Florian Schmaus * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,6 @@ import javax.security.auth.callback.CallbackHandler; import org.jivesoftware.smack.SmackException; import org.jivesoftware.smack.sasl.SASLMechanism; -import org.jivesoftware.smack.util.stringencoder.Base64; /** * The SASL X-OAUTH2 mechanism as described in