Enum AuthMechanism
- java.lang.Object
-
- java.lang.Enum<AuthMechanism>
-
- org.anasoid.jmc.core.wrapper.jmc.http.client.config.AuthMechanism
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuthMechanism>
public enum AuthMechanism extends java.lang.Enum<AuthMechanism>
Wrapper for Mechanism. Type of authentication to perform. JMeter can perform different types of authentications based on used Http Samplers:Java BASIC HttpClient 4 BASIC, DIGEST and Kerberos
- See Also:
AuthManager.Mechanism
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASICBASIC_DIGESTDeprecated.DIGESTKERBEROS
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringvalue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()java.lang.Stringvalue()static AuthMechanismvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuthMechanism[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC_DIGEST
@Deprecated public static final AuthMechanism BASIC_DIGEST
Deprecated.
-
BASIC
public static final AuthMechanism BASIC
-
DIGEST
public static final AuthMechanism DIGEST
-
KERBEROS
public static final AuthMechanism KERBEROS
-
-
Method Detail
-
values
public static AuthMechanism[] 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 (AuthMechanism c : AuthMechanism.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthMechanism valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<AuthMechanism>
-
-