Package org.wildfly.iiop.openjdk
Enum SSLConfigValue
- java.lang.Object
-
- java.lang.Enum<SSLConfigValue>
-
- org.wildfly.iiop.openjdk.SSLConfigValue
-
- All Implemented Interfaces:
Serializable,Comparable<SSLConfigValue>
public enum SSLConfigValue extends Enum<SSLConfigValue>
Enumeration of the SSL configuration values. Each enum contains the corresponding IIOP value, which is represented as an int.
- Author:
- Stefan Guilhen
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENTAUTHMUTUALAUTHNONESERVERAUTH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SSLConfigValuefromValue(String value)StringgetIIOPValue()StringtoString()static SSLConfigValuevalueOf(String name)Returns the enum constant of this type with the specified name.static SSLConfigValue[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SSLConfigValue NONE
-
SERVERAUTH
public static final SSLConfigValue SERVERAUTH
-
CLIENTAUTH
public static final SSLConfigValue CLIENTAUTH
-
MUTUALAUTH
public static final SSLConfigValue MUTUALAUTH
-
-
Method Detail
-
values
public static SSLConfigValue[] 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 (SSLConfigValue c : SSLConfigValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSLConfigValue 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
-
getIIOPValue
public String getIIOPValue()
-
fromValue
public static SSLConfigValue fromValue(String value)
-
toString
public String toString()
- Overrides:
toStringin classEnum<SSLConfigValue>
-
-