public static enum XmppSaslException.SaslError extends Enum<XmppSaslException.SaslError>
Enum Constant and Description |
---|
aborted
The receiving entity acknowledges that the authentication handshake has been aborted by the initiating
entity.
|
account_disabled
The account of the initiating entity has been temporarily disabled.
|
credentials_expired
The authentication failed because the initiating entity provided credentials that have expired.
|
encryption_required
The mechanism requested by the initiating entity cannot be used unless the confidentiality and integrity of
the underlying stream are protected (typically via TLS).
|
incorrect_encoding
The data provided by the initiating entity could not be processed because the base 64 encoding is incorrect.
|
invalid_authzid
The authzid provided by the initiating entity is invalid, either because it is incorrectly formatted or
because the initiating entity does not have permissions to authorize that ID.
|
invalid_mechanism
The initiating entity did not specify a mechanism, or requested a mechanism that is not supported by the
receiving entity.
|
malformed_request
The request is malformed (e.g., the
<auth/> element includes initial response data but the mechanism
does not allow that, or the data sent violates the syntax for the specified SASL mechanism). |
mechanism_too_weak
The mechanism requested by the initiating entity is weaker than server policy permits for that initiating
entity.
|
not_authorized
The authentication failed because the initiating entity did not provide proper credentials, or because some
generic authentication failure has occurred but the receiving entity does not wish to disclose specific
information about the cause of the failure.
|
temporary_auth_failure
The authentication failed because of a temporary error condition within the receiving entity, and it is
advisable for the initiating entity to try again later.
|
Modifier and Type | Method and Description |
---|---|
String |
getElementName() |
static XmppSaslException.SaslError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XmppSaslException.SaslError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmppSaslException.SaslError aborted
public static final XmppSaslException.SaslError account_disabled
public static final XmppSaslException.SaslError credentials_expired
public static final XmppSaslException.SaslError encryption_required
public static final XmppSaslException.SaslError incorrect_encoding
public static final XmppSaslException.SaslError invalid_authzid
public static final XmppSaslException.SaslError invalid_mechanism
public static final XmppSaslException.SaslError malformed_request
<auth/>
element includes initial response data but the mechanism
does not allow that, or the data sent violates the syntax for the specified SASL mechanism).public static final XmppSaslException.SaslError mechanism_too_weak
public static final XmppSaslException.SaslError not_authorized
public static final XmppSaslException.SaslError temporary_auth_failure
public static XmppSaslException.SaslError[] values()
for (XmppSaslException.SaslError c : XmppSaslException.SaslError.values()) System.out.println(c);
public static XmppSaslException.SaslError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getElementName()
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.