public enum SaslMechanisms extends Enum<SaslMechanisms>
Enum representing supported SASL mechanisms.
Enum Constant and Description |
---|
CRAM_MD5 |
DIGEST_MD5 |
PLAIN |
Modifier and Type | Method and Description |
---|---|
int |
getStrength()
Gets a strength representation of the respective authentication scheme.
|
String |
toString() |
static SaslMechanisms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslMechanisms[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslMechanisms DIGEST_MD5
public static final SaslMechanisms CRAM_MD5
public static final SaslMechanisms PLAIN
public static SaslMechanisms[] values()
for (SaslMechanisms c : SaslMechanisms.values()) System.out.println(c);
public static SaslMechanisms 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 toString()
toString
in class Enum<SaslMechanisms>
public int getStrength()
Gets a strength representation of the respective authentication scheme.
Copyright © 2023. All rights reserved.