public static enum SecurityInformation.DNMatchStatus extends Enum<SecurityInformation.DNMatchStatus>
Enum Constant and Description |
---|
NOT_VERIFIED
Server's DN is not verified.
|
VERIFIED_MATCHING_CONFIG
Server's DN is verified, and it is matching the DN configured either via URL
or connection property.
|
VERIFIED_MATCHING_HOSTNAME
Server's DN is verified, and it is matching the host name specified in the URL.
|
VERIFIED_MATCHING_SERVICENAME
The CN from the server's certificate DN matches the database service name specified
in the connection string.
|
Modifier and Type | Method and Description |
---|---|
static SecurityInformation.DNMatchStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityInformation.DNMatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityInformation.DNMatchStatus NOT_VERIFIED
public static final SecurityInformation.DNMatchStatus VERIFIED_MATCHING_CONFIG
public static final SecurityInformation.DNMatchStatus VERIFIED_MATCHING_HOSTNAME
public static final SecurityInformation.DNMatchStatus VERIFIED_MATCHING_SERVICENAME
public static SecurityInformation.DNMatchStatus[] values()
for (SecurityInformation.DNMatchStatus c : SecurityInformation.DNMatchStatus.values()) System.out.println(c);
public static SecurityInformation.DNMatchStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null