Enum SaslOutcome
- All Implemented Interfaces:
- Serializable,- Comparable<SaslOutcome>
Represents the outcome of a SASL exchange
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionabstract SaslCodesaslCode()static SaslOutcomevalueOf(byte outcome) Return a matching SASL Outcome from the given byte value.static SaslOutcomeReturns the enum constant of this type with the specified name.static SaslOutcome[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
SASL_OKauthentication succeeded
- 
SASL_AUTHfailed due to bad credentials
- 
SASL_SYSfailed due to a system error
- 
SASL_PERMfailed due to unrecoverable error
- 
SASL_TEMPfailed due to transient error
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
saslCode- Returns:
- the low level SaslCodethat defines the outcome of the SASL exchange.
 
- 
valueOfReturn a matching SASL Outcome from the given byte value.- Parameters:
- outcome- The byte value that is to be mapped to a SASL Outcome.
- Returns:
- the SaslOutcomethat matches the given value.
- Throws:
- IllegalArgumentException- if the given outcome value is unknown.
 
 
-