Class Configuration.SourceDirectory

  • Enclosing class:
    Configuration

    public static class Configuration.SourceDirectory
    extends Object
    The source directory details. Requires an LDAP v3 - compatible directory server.

    Property keys: sourceDirectory.*

    • Field Detail

      • host

        public final String host
        The host name or IP address of the source directory server.

        Property key: sourceDirectory.host

      • port

        public final int port
        The port number on which the server accepts connections.

        Property key: sourceDirectory.port

      • DEFAULT_PORT_PLAIN

        public static final int DEFAULT_PORT_PLAIN
        The default port number for plain LDAP connections.
        See Also:
        Constant Field Values
      • DEFAULT_PORT_STARTTLS

        public static final int DEFAULT_PORT_STARTTLS
        The default port number for StartTLS LDAP connections.
        See Also:
        Constant Field Values
      • DEFAULT_PORT_SSL

        public static final int DEFAULT_PORT_SSL
        The default port number for SSL LDAP connections.
        See Also:
        Constant Field Values
      • timeout

        public final int timeout
        The timeout in milliseconds for LDAP connect requests. If zero the underlying LDAP client library will handle this value.

        Property key: sourceDirectory.timeout

      • DEFAULT_TIMEOUT

        public static final int DEFAULT_TIMEOUT
        The default timeout in milliseconds for LDAP connect requests.
        See Also:
        Constant Field Values
      • security

        public final LdapConnectionSecurity security
        The LDAP connection security (NONE, STARTTLS or SSL).

        Property key: sourceDirectory.security

      • trustSelfSignedCerts

        public final boolean trustSelfSignedCerts
        Determines whether to accept self-signed certificates presented by the LDAP server (for secure SSL or StartTLS connections).

        Property key: sourceDirectory.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

      • SourceDirectory

        public SourceDirectory​(Properties props)
                        throws com.thetransactioncompany.util.PropertyParseException
        Creates a new source directory details instance from the specified properties.
        Parameters:
        props - The properties.
        Throws:
        com.thetransactioncompany.util.PropertyParseException - On a missing or invalid property.