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.
#Email sender sessionRegEmailHost=smtp.server.comRegEmailPort=587RegEmailPassword=passRegEmailAuthEnabled=trueRegEmailStartTlsEnabled=trueThe 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 SETTINGS#Where the application should look for data of not logged in users. #supported: db, ldapRegUserRepositoryMode=dbIn 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 ldap settings (if RegUserRepositoryMode=ldap)RegUserRepositoryLdapHost=ldaphost.localRegUserRepositoryLdapPort=389RegUserRepositoryLdapBaseDn=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=localRegUserRepositoryLdapSearchUserPass=password# The attribute which contains the email address of the authority. Defaults to mailRegUserRepositoryLdapEmailAttribute=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