Package com.nimbusds.ldapsync
Class Configuration.Json2Ldap
- java.lang.Object
-
- com.nimbusds.ldapsync.Configuration.Json2Ldap
-
- Enclosing class:
- Configuration
public static class Configuration.Json2Ldap extends Object
The Json2Ldap web service details. Requires Json2Ldap version 3.0+.Property keys: json2ldap.*
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_SELF_SIGNED_CERTS_TRUST
The default trust for self-signed certificates.boolean
trustSelfSignedCerts
Determines whether to accept self-signed certificates presented by the Json2Ldap web service (if the URL is HTTPS).URL
url
The HTTP(S) URL of the Json2Ldap web service.
-
Constructor Summary
Constructors Constructor Description Json2Ldap(Properties props)
Creates a new Json2Ldap details instance from the specified properties.
-
-
-
Field Detail
-
url
public final URL url
The HTTP(S) URL of the Json2Ldap web service.Property key: json2ldap.url
-
trustSelfSignedCerts
public final boolean trustSelfSignedCerts
Determines whether to accept self-signed certificates presented by the Json2Ldap web service (if the URL is HTTPS).Note: Intended for testing purposes only!
Property key: json2ldap.trustSelfSignedCerts
-
DEFAULT_SELF_SIGNED_CERTS_TRUST
public static final boolean DEFAULT_SELF_SIGNED_CERTS_TRUST
The default trust for self-signed certificates.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Json2Ldap
public Json2Ldap(Properties props) throws com.thetransactioncompany.util.PropertyParseException
Creates a new Json2Ldap details instance from the specified properties.- Parameters:
props
- The properties.- Throws:
com.thetransactioncompany.util.PropertyParseException
- On a missing or invalid property.
-
-