Package io.quarkus.oidc.common.runtime
Enum OidcCommonConfig.Tls.Verification
- java.lang.Object
-
- java.lang.Enum<OidcCommonConfig.Tls.Verification>
-
- io.quarkus.oidc.common.runtime.OidcCommonConfig.Tls.Verification
-
- All Implemented Interfaces:
Serializable,Comparable<OidcCommonConfig.Tls.Verification>
- Enclosing class:
- OidcCommonConfig.Tls
public static enum OidcCommonConfig.Tls.Verification extends Enum<OidcCommonConfig.Tls.Verification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATE_VALIDATIONCertificates are validated but hostname verification is disabled.NONEAll certificated are trusted and hostname verification is disabled.REQUIREDCertificates are validated and hostname verification is enabled.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OidcCommonConfig.Tls.VerificationvalueOf(String name)Returns the enum constant of this type with the specified name.static OidcCommonConfig.Tls.Verification[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final OidcCommonConfig.Tls.Verification REQUIRED
Certificates are validated and hostname verification is enabled. This is the default value.
-
CERTIFICATE_VALIDATION
public static final OidcCommonConfig.Tls.Verification CERTIFICATE_VALIDATION
Certificates are validated but hostname verification is disabled.
-
NONE
public static final OidcCommonConfig.Tls.Verification NONE
All certificated are trusted and hostname verification is disabled.
-
-
Method Detail
-
values
public static OidcCommonConfig.Tls.Verification[] 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 (OidcCommonConfig.Tls.Verification c : OidcCommonConfig.Tls.Verification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OidcCommonConfig.Tls.Verification 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
-
-