Class 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 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.