The user API for the Online Research Database Services (ORDS)
When deployed, documentation can be found at /api/1.0/user/swagger.json
The following properties can be set using the ords.properties file (as defined in config.xml)
If set to TRUE, anonymous users can self-register for new accounts
The localuser suffix is used to automatically map a principal to the localuser role; a localuser has permission to create new projects.
Generally you will set this to be your organisation's domain as used in email addresses.
ords.mail.send = false
Whether to enable account signup verification emails.
The verification URL to send the user. The %s token will be replaced with the verification UUID.
ords.mail.verification.subject=Message from ORDS
The subject line to use for verification emails.
ords.mail.verification.message=Hi %s\n\nIn order to ensure you are able to receive emails from us\, please click the following link (if the link below is not clickable\, then please copy and paste the URL into a web browser). This will complete the registration process.\n\n%s\n\nThe ORDS Team
The verification message. The first %s token is replaced with user.name; the second with the verification URL.
ords.mail.contact.subject=Message from ORDS
The subject line to use for contact request emails.
ords.mail.contact.message=You have been sent a message by a user with email address of <%s> and name %s. They are interested in your project <%s> and have sent you the following message\n\n%s
The contact request message. Tokens are replaced with sender email and name, project name, and message.
Database and security configuration
Optional; the location of the hibernate configuration file.
Optional; the location of the Shiro INI file
Optional; the location of the Server configuration file
Mail server configuration
The following properties are used for the email server connection
mail.smtp.auth=true mail.smtp.starttls.enable=true mail.smtp.host=localhost mail.smtp.port=587 email@example.com mail.smtp.username= mail.smtp.password=