Package org.wildfly.security.sasl.gssapi
Enum AbstractGssapiMechanism.QOP
- java.lang.Object
-
- java.lang.Enum<AbstractGssapiMechanism.QOP>
-
- org.wildfly.security.sasl.gssapi.AbstractGssapiMechanism.QOP
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractGssapiMechanism.QOP>
- Enclosing class:
- AbstractGssapiMechanism
protected static enum AbstractGssapiMechanism.QOP extends Enum<AbstractGssapiMechanism.QOP>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
byte
getValue()
boolean
includedBy(byte securityLayer)
static AbstractGssapiMechanism.QOP
mapFromName(String name)
static AbstractGssapiMechanism.QOP
mapFromValue(byte value)
static AbstractGssapiMechanism.QOP
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractGssapiMechanism.QOP[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTH
public static final AbstractGssapiMechanism.QOP AUTH
-
AUTH_INT
public static final AbstractGssapiMechanism.QOP AUTH_INT
-
AUTH_CONF
public static final AbstractGssapiMechanism.QOP AUTH_CONF
-
-
Field Detail
-
name
private final String name
-
value
private final byte value
-
-
Constructor Detail
-
QOP
private QOP(String name, byte value)
-
-
Method Detail
-
values
public static AbstractGssapiMechanism.QOP[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractGssapiMechanism.QOP c : AbstractGssapiMechanism.QOP.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractGssapiMechanism.QOP valueOf(String name)
Returns 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 nameNullPointerException
- if the argument is null
-
getName
public String getName()
-
getValue
public byte getValue()
-
includedBy
public boolean includedBy(byte securityLayer)
-
mapFromValue
public static AbstractGssapiMechanism.QOP mapFromValue(byte value)
-
mapFromName
public static AbstractGssapiMechanism.QOP mapFromName(String name)
-
-