public enum SaslStrength extends Enum<SaslStrength>
Sasl.STRENGTH
Enum Constant and Description |
---|
HIGH
Specify high cipher strength.
|
LOW
Specify low cipher strength.
|
MEDIUM
Specify medium cipher strength.
|
Modifier and Type | Method and Description |
---|---|
static SaslStrength |
fromString(String name)
Get the SASL Strength level for the given string.
|
String |
toString()
Returns the human-readable reprentation of this Strength value.
|
static SaslStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaslStrength LOW
public static final SaslStrength MEDIUM
public static final SaslStrength HIGH
public static SaslStrength[] values()
for (SaslStrength c : SaslStrength.values()) System.out.println(c);
public static SaslStrength 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 static SaslStrength fromString(String name)
name
- the Strength levelpublic String toString()
toString
in class Enum<SaslStrength>
Copyright © 2019 JBoss by Red Hat. All rights reserved.