public final class Failure extends Object implements ServerStreamElement
<failure/> element, which indicates a SASL failure.
The receiving entity reports failure of the handshake for this authentication mechanism by sending a
<failure/>element qualified by the 'urn:ietf:params:xml:ns:xmpp-sasl' namespace.
| Modifier and Type | Class and Description |
|---|---|
static class |
Failure.Aborted
The implementation of the
<aborted/> SASL failure. |
static class |
Failure.AccountDisabled
The implementation of the
<account-disabled/> SASL failure. |
static class |
Failure.Condition
A general class for a SASL failure condition.
|
static class |
Failure.CredentialsExpired
The implementation of the
<credentials-expired/> SASL failure. |
static class |
Failure.EncryptionRequired
The implementation of the
<encryption-required/> SASL failure. |
static class |
Failure.IncorrectEncoding
The implementation of the
<incorrect-encoding/> SASL failure. |
static class |
Failure.InvalidAuthzid
The implementation of the
<invalid-authzid/> SASL failure. |
static class |
Failure.InvalidMechanism
The implementation of the
<invalid-mechanism/> SASL failure. |
static class |
Failure.MalformedRequest
The implementation of the
<malformed-request/> SASL failure. |
static class |
Failure.MechanismTooWeak
The implementation of the
<mechanism-too-weak/> SASL failure. |
static class |
Failure.NotAuthorized
The implementation of the
<not-authorized/> SASL failure. |
static class |
Failure.TemporaryAuthFailure
The implementation of the
<temporary-auth-failure/> SASL failure. |
| Modifier and Type | Method and Description |
|---|---|
Failure.Condition |
getCondition()
Gets the defined error condition.
|
String |
getLanguage()
Gets the language of the text.
|
String |
getText()
Gets the text of the failure.
|
public Failure.Condition getCondition()
public String getText()
public String getLanguage()
Copyright © 2014 XMPP.rocks. All rights reserved.