mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
SMACK-282: Support SASL-related error conditions
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11616 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
e3efee2e8f
commit
539f652443
2 changed files with 40 additions and 6 deletions
|
@ -286,7 +286,7 @@ class PacketReader {
|
|||
// depending on the number of retries
|
||||
final Failure failure = PacketParserUtils.parseSASLFailure(parser);
|
||||
processPacket(failure);
|
||||
connection.getSASLAuthentication().authenticationFailed();
|
||||
connection.getSASLAuthentication().authenticationFailed(failure.getCondition());
|
||||
}
|
||||
}
|
||||
else if (parser.getName().equals("challenge")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue