2012-07-13 04:56:04 +02:00
|
|
|
##################################################################################
|
|
|
|
# Database Configuration
|
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
# MySQL 5.X configuration properties
|
2012-09-05 03:12:52 +02:00
|
|
|
#database.url=jdbc:mysql://localhost/wisemapping?useUnicode=yes&characterEncoding=UTF-8
|
2012-07-13 04:56:04 +02:00
|
|
|
#database.driver=com.mysql.jdbc.Driver
|
|
|
|
#database.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
|
|
|
|
#database.username=wisemapping
|
|
|
|
#database.password=password
|
2012-11-02 03:29:18 +01:00
|
|
|
#database.validation.enabled=true
|
|
|
|
#database.validation.query=SELECT 1
|
2012-07-13 04:56:04 +02:00
|
|
|
|
2013-02-23 19:33:09 +01:00
|
|
|
## PostgreSQL configuration properties
|
|
|
|
#database.url=jdbc:postgresql://<hostname:port>/wisemapping
|
|
|
|
#database.driver=org.postgresql.Driver
|
|
|
|
#database.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
#database.username=<username>
|
|
|
|
#database.password=<password>
|
|
|
|
#database.validation.enabled=true
|
|
|
|
#database.validation.query=
|
|
|
|
#database.validation.enabled=false
|
|
|
|
|
|
|
|
|
2012-07-13 04:56:04 +02:00
|
|
|
# HSQL Configuration properties
|
2012-11-04 05:06:02 +01:00
|
|
|
database.url=jdbc:hsqldb:file:${database.base.url}/db/wisemapping
|
2012-07-13 04:56:04 +02:00
|
|
|
database.driver=org.hsqldb.jdbc.JDBCDriver
|
|
|
|
database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
|
|
|
|
database.username=sa
|
|
|
|
database.password=
|
2012-11-02 03:29:18 +01:00
|
|
|
database.validation.enabled=false
|
|
|
|
database.validation.query=
|
2012-07-13 04:56:04 +02:00
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
# Mail configuration. Must be configured to enable user registration confirmation.
|
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
#------------------------
|
|
|
|
# Plain SMTP Server Configuration
|
|
|
|
#------------------------
|
2012-07-16 03:20:21 +02:00
|
|
|
mail.smtp.port=25
|
2012-07-13 04:56:04 +02:00
|
|
|
mail.smtp.host=localhost
|
|
|
|
mail.username=root
|
|
|
|
mail.password=
|
|
|
|
mail.smtp.auth=false
|
|
|
|
mail.smtp.starttls.enable=false
|
|
|
|
mail.smtp.quitwait=false
|
|
|
|
|
|
|
|
#------------------------
|
|
|
|
# GMAIL SMTP Configuration
|
|
|
|
#------------------------
|
|
|
|
#mail.smtp.port=587
|
|
|
|
#mail.smtp.host=smtp.gmail.com
|
|
|
|
#mail.username=<gmail-user-account>
|
|
|
|
#mail.password=<gmail-password>
|
|
|
|
#mail.smtp.auth=true
|
|
|
|
#mail.smtp.starttls.enable=true
|
|
|
|
#mail.smtp.quitwait=false
|
|
|
|
|
|
|
|
#------------------------
|
|
|
|
# Emails configuration
|
|
|
|
#------------------------
|
|
|
|
|
|
|
|
# Required: "from" email account that will appear in the emails sent from the sender.
|
|
|
|
mail.serverSendEmail=root@localhost
|
|
|
|
|
|
|
|
# Optional: Support account that the users could use to contact you. This address will appear in emails and in some places in the site.
|
|
|
|
mail.supportEmail=root@localhost
|
|
|
|
|
|
|
|
# Optional: Unexpected errors will be reported to this address.
|
2012-09-02 19:18:54 +02:00
|
|
|
mail.errorReporterEmail=
|
2012-07-13 04:56:04 +02:00
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
# Users Registration Configuration
|
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
# Enable captcha confirmation
|
2018-09-15 02:50:27 +02:00
|
|
|
google.recaptcha2.enabled = true
|
2012-07-13 04:56:04 +02:00
|
|
|
|
|
|
|
# ReCaptcha is the default captcha. Public and private keys are required.
|
|
|
|
# More Info: http://www.google.com/recaptcha .
|
2018-09-15 02:50:27 +02:00
|
|
|
google.recaptcha2.siteKey = 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
|
|
|
google.recaptcha2.secretKey = 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
2012-07-13 04:56:04 +02:00
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
# Site configuration
|
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
# Site administration user. This user will have special permissions for operations such as removing users, set password
|
|
|
|
# etc.
|
|
|
|
admin.user = admin@wisemapping.org
|
|
|
|
|
2012-11-04 22:17:32 +01:00
|
|
|
# Base URL where WiseMapping is deployed. By default, It will be automatically inferred.
|
|
|
|
# If you are planning to put wisemapping behind an Apache using an Apache Proxy setup, you must enable this property.
|
2014-04-25 22:30:18 +02:00
|
|
|
#site.baseurl = http://example.com:8080/wisemapping
|
2012-11-04 22:17:32 +01:00
|
|
|
|
2012-07-13 04:56:04 +02:00
|
|
|
|
2012-09-01 19:30:32 +02:00
|
|
|
# Site Homepage URL. This will be used as URL for homepage location.
|
|
|
|
site.homepage = c/home
|
|
|
|
|
2022-01-13 01:09:28 +01:00
|
|
|
# Font end static content can be deployed externally to the web app. Uncomment here and specify the url base location.
|
2022-01-15 01:39:20 +01:00
|
|
|
site.static.js.url = /static
|
2022-01-13 01:09:28 +01:00
|
|
|
|
2012-07-13 04:56:04 +02:00
|
|
|
##################################################################################
|
|
|
|
# Google Analytics Settings
|
|
|
|
##################################################################################
|
|
|
|
google.analytics.enabled=false
|
2012-08-31 05:46:46 +02:00
|
|
|
google.analytics.account=UA-XXXX
|
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
# Google Ads enable
|
|
|
|
##################################################################################
|
2012-11-18 22:54:56 +01:00
|
|
|
google.ads.enabled=false
|
2013-02-18 01:00:08 +01:00
|
|
|
|
|
|
|
#######################################################################################
|
2013-02-18 03:10:04 +01:00
|
|
|
# Authentication Configuration Section
|
2013-02-18 01:00:08 +01:00
|
|
|
#######################################################################################
|
2013-02-18 01:26:42 +01:00
|
|
|
|
|
|
|
# Two type of security are supported:
|
|
|
|
# - db: User are stored in the database. Registration is required in advance.
|
|
|
|
# - ldap: Authentication takes place using a LDAP. In this case, security.ldap.* must be configured.
|
|
|
|
security.type=db
|
|
|
|
|
|
|
|
# LDAP Configuration properties.
|
2013-02-18 01:00:08 +01:00
|
|
|
security.ldap.server=ldap://localhost:389
|
2013-09-25 16:00:54 +02:00
|
|
|
|
|
|
|
# If anonymous password is required, change the wisemapping-security-ldap.xml removing the
|
2013-02-18 01:00:08 +01:00
|
|
|
security.ldap.server.user=cn=pveiga,dc=wisemapping,dc=com
|
|
|
|
security.ldap.server.password=password
|
|
|
|
security.ldap.basedn=dc=wisemapping,dc=com
|
2013-09-25 16:00:54 +02:00
|
|
|
|
|
|
|
|
2014-04-25 22:36:48 +02:00
|
|
|
# This will be concatenated as part of the DN. In this case, I will be "ou=people".
|
2013-09-25 16:00:54 +02:00
|
|
|
# In case this need to be changed, modify the wisemapping-security-ldap.xml.
|
2014-04-25 22:36:48 +02:00
|
|
|
security.ldap.subDn=ou=people
|
2013-09-25 16:00:54 +02:00
|
|
|
|
|
|
|
# Attribute used as authentication login (Eg: in this case, the user email will be used)
|
2013-02-18 01:00:08 +01:00
|
|
|
security.ldap.auth.attribute=mail
|
|
|
|
|
2013-02-24 21:46:05 +01:00
|
|
|
security.ldap.lastName.attribute=sn
|
|
|
|
security.ldap.firstName.attribute=givenName
|
|
|
|
|
2013-02-18 01:00:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|