Top Description Fields Constructors Methods
org.xnio.sasl

public final Enum SaslStrength

extends Enum<SaslStrength>
Class Inheritance
Static Imports
org.xnio._private.Messages.msg

The SASL cipher strength value.
See Also
javax.security.sasl.Sasl#STRENGTH

Field Summary

Modifier and TypeField and Description
public static final SaslStrength
HIGH

Specify high cipher strength.

public static final SaslStrength
LOW

Specify low cipher strength.

public static final SaslStrength
MEDIUM

Specify medium cipher strength.

private final String

Constructor Summary

AccessConstructor and Description
private
SaslStrength(String toString)

Method Summary

Modifier and TypeMethod and Description
public static SaslStrength

Returns:

the Strength value
fromString
(String
the Strength level
name
)

Get the SASL Strength level for the given string.

public String

Returns:

the string representation
toString
()

Overrides java.lang.Enum.toString.

Returns the human-readable reprentation of this Strength value.

public static SaslStrength
public static SaslStrength[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

HIGHback to summary
public static final SaslStrength HIGH

Specify high cipher strength.

LOWback to summary
public static final SaslStrength LOW

Specify low cipher strength.

MEDIUMback to summary
public static final SaslStrength MEDIUM

Specify medium cipher strength.

toStringback to summary
private final String toString

Constructor Detail

SaslStrengthback to summary
private SaslStrength(String toString)

Method Detail

fromStringback to summary
public static SaslStrength fromString(String name)

Get the SASL Strength level for the given string.

Parameters
name:String

the Strength level

Returns:SaslStrength

the Strength value

toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Returns the human-readable reprentation of this Strength value.

Returns:String

the string representation

valueOfback to summary
public static SaslStrength valueOf(String name)
valuesback to summary
public static SaslStrength[] values()