mandatory configuration

To start an e!DAL instance it is necessary to define some mandatory parameter. To make it easier to define these parameter, we design the EdalConfiguration class.
It provides two simple constructors, which collect all mandatory parameter and automatically check if they are valid.

The first constructor needs the following (mandatory) parameter:

Parameter Class Description
dataCiteUser String Username for the used DataCite account
dataCitePassword String Password for the used DataCite account
dataCitePrefix String Prefix of the used DataCite account (use '10.5072' for test mode)
scientificReviewer InternetAddress Email address for the scientific reviewer
substituteReviewer InternetAddress Email address for the substitute reviewer
managingReviewer InternetAddress Email address for the managing reviewer
rootUser InternetAddress Email address for the root reviewer
/* create a new EdalConfiguration */
EdalConfiguration configuration = new EdalConfiguration("dataCiteUserName", "dataCitePassword", "dataCitePrefix", new InternetAddress("scientific@mail.de"), 
							new InternetAddress("substitute@mail.de"), new InternetAddress("managing@mail.de"), new InternetAddress("root@mail.de"));
The second constructor need additionally some optional, but frequently used parameters:

Parameter Class Description
httpProxyHost String Address for HTTP proxy
httpProxyPort Integer Port for HTTP proxy
httpsProxyHost String Address for HTTPS proxy
httpsProxyPort Integer Port for HTTPS proxy
smtpHost String Address of SMTP host
smtpLogin String Username for SMTP host
smtpPassword String Password for SMTP host
/* create a new EdalConfiguration */
EdalConfiguration configuration = new EdalConfiguration("dataCiteUserName", "dataCitePassword", "dataCitePrefix", new InternetAddress("scientific@mail.de"), 
							new InternetAddress("substitute@mail.de"), new InternetAddress("managing@mail.de"), new InternetAddress("root@mail.de"),
							"httpproxy.your-domain.de", 1234, "httpsproxy.your-domain.de", 5678, "mail.your-domain.de", "smtpUser", "smtpLogin");

optional configuration

Beside the common parameter it is possible to define a lot of optional parameter for running the API.
To edit these parameter please use the Setter functions for the EdalConfiguration, which you use to start the API.

Parameter Class Description Default Value
httpProxyHost String Address for HTTP proxy
httpProxyPort int Port for HTTP proxy
httpsProxyHost String Address for HTTPS proxy
httpsProxyPort int Port for HTTPS proxy
databaseUserName String Username for the embedded database sa
databasePassword String Password for the embedded database
supportedPrincipals List List of supported Principal classes to use for the security system KerberosPrincipal, NTUserPrincipal, UnixPrincipal GooglePrincipal
useSSL Boolean Deactivate SSL for RMI transfer true
mountPath Path Path for e!DAL database / index files ${user_home}/edal
dataPath Path Path for e!DAL data files ${user_home}/edal
mailSmtpHost String Address of SMTP host
mailSmtpLogin String Username for SMTP host
mailSmtpPassword String Password for SMTP host
https Boolean Activate SSL for HTTP Listener false
keystorepath String Path to SSL KeyStore
keystorepassword String Password for SSL KeyStore
cleanBrokenEntities Boolean Deactivate the clean function for Entities, which were broken during upload process.