Package net.webpdf.wsclient.openapi
Enum ServerConfigUserLdap.CertificatesTrustModeEnum
- java.lang.Object
-
- java.lang.Enum<ServerConfigUserLdap.CertificatesTrustModeEnum>
-
- net.webpdf.wsclient.openapi.ServerConfigUserLdap.CertificatesTrustModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ServerConfigUserLdap.CertificatesTrustModeEnum>
- Enclosing class:
- ServerConfigUserLdap
public static enum ServerConfigUserLdap.CertificatesTrustModeEnum extends Enum<ServerConfigUserLdap.CertificatesTrustModeEnum>
Specifies the mode of handling the certificates presented by the LDAP server during connection establishment. * validate = Only certificates that can be verified as publicly valid are classified as trusted. It may be necessary to place the certificate or the issuer's certificate in the server's truststore. Self-signed certificates (e.g. from an own certificate authority) are excluded if they cannot be verified via a configured truststore. * acceptAll = All certificates are classified as trusted, including expired, unverifiable, invalid or self-signed certificates.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerConfigUserLdap.CertificatesTrustModeEnumfromValue(String value)StringgetValue()StringtoString()static ServerConfigUserLdap.CertificatesTrustModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerConfigUserLdap.CertificatesTrustModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALIDATE
public static final ServerConfigUserLdap.CertificatesTrustModeEnum VALIDATE
-
ACCEPTALL
public static final ServerConfigUserLdap.CertificatesTrustModeEnum ACCEPTALL
-
-
Method Detail
-
values
public static ServerConfigUserLdap.CertificatesTrustModeEnum[] 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 (ServerConfigUserLdap.CertificatesTrustModeEnum c : ServerConfigUserLdap.CertificatesTrustModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerConfigUserLdap.CertificatesTrustModeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ServerConfigUserLdap.CertificatesTrustModeEnum>
-
fromValue
public static ServerConfigUserLdap.CertificatesTrustModeEnum fromValue(String value)
-
-