-
Notifications
You must be signed in to change notification settings - Fork 33
/
ldapadmin.properties
92 lines (80 loc) · 3.73 KB
/
ldapadmin.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# General purposes properties
instanceName=geOrchestra
publicContextPath=/ldapadmin
protectedUser.uid1=geoserver_privileged_user
# Header height (size in px)
headerHeight=90
# Account moderation
# If moderatedSignup is true, each time a new user requests an account:
# * an email is sent to moderatorEmail for validation,
# * user has role PENDING (which grants nothing).
# Otherwise, the user is immediately considered as registered,
# and is granted the USER role.
#
moderatedSignup=true
moderatorEmail=georchestra+testadmin@georchestra.mydomain.org
# Delay in days before the "I lost my password" token expires
delayInDays=1
# Possible values for org creation form : "orgShortName", "orgAddress" and "orgType"
requiredFields=firstName,surname,org,orgType
# Org type values is used to populate the drop down list from /ldapadmin/account/new
orgTypeValues=Association,Company,NGO,Individual,Other
# Areas map configuration
# This map appears on the /ldapadmin/account/new page, when the user checks the "my org does not exist" checkbox.
# Currently the map is configured with the EPSG:4326 SRS.
AreaMapCenter=1.77, 47.3
AreaMapZoom=6
# AreasUrl is the URL of a static file or a service with a GeoJSON FeatureCollection object string in EPSG:4326.
AreasUrl=https://sdi.georchestra.org/geoserver/ows?SERVICE=WFS&REQUEST=GetFeature&typeName=gadm:gadm_for_countries&outputFormat=json&cql_filter=ISO='FRA' or ISO='BEL'
# The following properties are used to configure the map widget behavior:
AreasKey=OBJECTID
# AreasKey is the key stored in the org LDAP record to uniquely identify a feature.
AreasValue=OBJECTID
# AreasValue is the feature "nice name" which appears in the widget list once selected.
AreasGroup=ISO
# AreasGroup is the feature property which is used to group together areas.
# eg: if the GeoJSON file represents regions, then AreasGroup might be the property with the "state name".
# CAUTION: AreasGroup **has to** be a string, not a numeric !
# reCaptcha
privateKey=6LcfjucSAAAAAKcnHp14epYOiWOIUfEculd4PvLV
publicKey=6LcfjucSAAAAAKtNoK5r7IIXxBT-33znNJUgeYg1
# LDAP related
ldapUrl=ldap://localhost:389
baseDN=dc=georchestra,dc=org
ldapAdminDn=cn=admin,dc=georchestra,dc=org
ldap.admin.password=secret
groupUniqueNumberField=ou
userSearchBaseDN=ou=users
groupSearchBaseDN=ou=roles
accountUniqueNumberField=employeeNumber
orgsSearchBaseDN=ou=orgs
# PostGreSQL database connection parameters
psql.url=jdbc:postgresql://localhost:5432/georchestra
psql.user=www-data
psql.pass=www-data
# SMTP configuration
smtpHost=localhost
smtpPort=25
# Email-related properties
emailHtml=false
replyTo=georchestra+testadmin@georchestra.mydomain.org
from=georchestra+testadmin@georchestra.mydomain.org
language=en
subject.account.created=[geOrchestra] Your account has been created
subject.account.in.process=[geOrchestra] Your new account is waiting for validation
subject.requires.moderation=[geOrchestra] New account waiting for validation
subject.change.password=[geOrchestra] Update your password
subject.account.uid.renamed=[geOrchestra] New login for your account
warnUserIfUidModified=true
# Email proxy configuration
# Basically, this webapp can send emails on behalf of LDAP users.
# The service endpoint is available at /ldapadmin/emailProxy
# Usage is restricted to users having the MOD_EMAILPROXY role by default,
# cf https://github.com/georchestra/datadir/blob/master/security-proxy/security-mappings.xml
# see https://github.com/georchestra/georchestra/pull/1572 for more information.
emailProxyFromAddress=no-reply@georchestra.org
emailProxyMaxRecipient=10
emailProxyMaxBodySize=10000
emailProxyMaxSubjectSize=200
emailProxyRecipientWhitelist=psc@georchestra.org, postmaster@georchestra.org, listmaster@georchestra.org
# these restrictions have been implemented to prevent spammers.