E-mail Server and User Repository

    In order to define the e-mail server connections and user repository settings for the application the following sections have to be overridden in the registry.properties file. This file can be placed in an arbitrary folder, that has to be referenced by the REGISTRYCXN_HOME environment variable.

    The e-mail SMTP server connection is described by the following options. E-mail server configuration

    
    #Email sender session
    RegEmailHost=smtp.server.com
    RegEmailPort=587
    RegEmailUser=user@server.com
    RegEmailPassword=pass
    RegEmailAuthEnabled=true
    RegEmailStartTlsEnabled=true

    The user repository settings describe the source of the e-mail address information for a certain logged in user. In order to be able to send feedback e-mails to the logged in users, the system should be aware of this information (or the submission should explicitly contain a feedback e-mail address field). The source can either be a local database or an LDAP/AD based source defined by the setting below. User repository source

    
    #USER REPOSITORY SETTINGS
    #Where the application should look for data of not logged in users. 
    #supported: db, ldap
    RegUserRepositoryMode=db

    In case of an LDAP/AD solution the following options define the typical LDAP settings: host, port, base DN, user DN, etc. For further help on these settings please consult the LDAP configuration guide document. User repository source

    
    #user repository ldap settings (if RegUserRepositoryMode=ldap)
    RegUserRepositoryLdapHost=ldaphost.local
    RegUserRepositoryLdapPort=389
    RegUserRepositoryLdapBaseDn=dc=test,dc=company,dc=local
    # What search to execute to find the user. The substituted parameter {0} is the login name.
    RegUserRepositoryLdapUserDnPattern=uid={0},ou=User,ou=Test
    # the user who can connect to the ldap server and execute searches:
    RegUserRepositoryLdapSearchUserDn=uid=ADMIN,ou=User,ou=Test,dc=test,dc=company,dc=local
    RegUserRepositoryLdapSearchUserPass=password
    # The attribute which contains the email address of the authority. Defaults to mail
    RegUserRepositoryLdapEmailAttribute=mail
    
    #AD example settings
    #RegUserRepositoryLdapHost=adhost.local
    #RegUserRepositoryLdapPort=389
    #RegUserRepositoryLdapBaseDn=DC=company,DC=local
    #RegUserRepositoryLdapUserDnPattern=(&(objectClass=user)(sAMAccountName={0}))
    #RegUserRepositoryLdapSearchUserDn=CN=Test User 01,CN=Users,DC=company,DC=local
    #RegUserRepositoryLdapSearchUserPass=password
    #RegUserRepositoryLdapEmailAttribute=mail