1 |
|
# Here your custom configuration.
|
2 |
|
# Use it to declare new settings or overload existing ones
|
|
1 |
# Configuration for authentic.
|
|
2 |
# You can override Authentic default settings here
|
3 |
3 |
|
4 |
|
# STATIC_ROOT='/var/lib/authentic2/static'
|
|
4 |
# Authentic is a Django application: for the full list of settings and their
|
|
5 |
# values, see https://docs.djangoproject.com/en/1.7/ref/settings/
|
|
6 |
# For more information on settings see
|
|
7 |
# https://docs.djangoproject.com/en/1.7/topics/settings/
|
5 |
8 |
|
6 |
|
# ALLOWED_HOSTS='*'
|
|
9 |
# WARNING! Quick-start development settings unsuitable for production!
|
|
10 |
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
|
7 |
11 |
|
8 |
|
# SAML_SIGNATURE_PUBLIC_KEY=""
|
9 |
|
# SAML_SIGNATURE_PRIVATE_KEY=""
|
|
12 |
# This file is sourced by "execfile" from /usr/lib/authentic/debian_config.py
|
10 |
13 |
|
11 |
|
# USE_MEMCACHED=yes # required python-memcache memcached
|
|
14 |
# SECURITY WARNING: don't run with debug turned on in production!
|
|
15 |
DEBUG = False
|
|
16 |
TEMPLATE_DEBUG = False
|
12 |
17 |
|
13 |
|
# IDP_SAML2='yes'
|
14 |
|
# IDP_OPENID='yes' # require package python-openid
|
15 |
|
# IDP_CAS='yes'
|
16 |
|
# AUTH_SAML2='yes'
|
17 |
|
# AUTH_OPENID='yes' # require package python-openid
|
18 |
|
# AUTH_SSL='yes'
|
|
18 |
#ADMINS = (
|
|
19 |
# # ('User 1', 'watchdog@example.net'),
|
|
20 |
# # ('User 2', 'janitor@example.net'),
|
|
21 |
#)
|
|
22 |
|
|
23 |
# ALLOWED_HOSTS must be correct in production!
|
|
24 |
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
|
25 |
ALLOWED_HOSTS = [
|
|
26 |
'*',
|
|
27 |
]
|
|
28 |
|
|
29 |
# Databases
|
|
30 |
# Default: a local database named "authentic"
|
|
31 |
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
|
|
32 |
# Warning: don't change ENGINE
|
|
33 |
#DATABASES['default']['NAME'] = 'authentic2_multitenant'
|
|
34 |
#DATABASES['default']['USER'] = 'authentic-multitenant'
|
|
35 |
#DATABASES['default']['PASSWORD'] = '******'
|
|
36 |
#DATABASES['default']['HOST'] = 'localhost'
|
|
37 |
#DATABASES['default']['PORT'] = '5432'
|
|
38 |
|
|
39 |
LANGUAGE_CODE = 'fr-fr'
|
|
40 |
TIME_ZONE = 'Europe/Paris'
|
19 |
41 |
|
20 |
42 |
# Sentry / Raven configuration
|
21 |
|
# RAVEN_CONFIG_DSN='' # require package python-raven
|
|
43 |
#RAVEN_CONFIG = {
|
|
44 |
# 'dsn': '',
|
|
45 |
#}
|
22 |
46 |
|
23 |
47 |
# Email configuration
|
24 |
|
# EMAIL_HOST = 'localhost'
|
25 |
|
# EMAIL_PORT = 25
|
26 |
|
# EMAIL_SUBJECT_PREFIX='[Authentic2]'
|
27 |
|
# SERVER_EMAIL='admin+authentic2@entrouvert.com'
|
28 |
|
|
29 |
|
# complete database config
|
30 |
|
# DATABASES = {
|
31 |
|
# 'default': {
|
32 |
|
# 'ENGINE': 'tenant_schemas.postgresql_backend',
|
33 |
|
# 'HOST': 'localhost',
|
34 |
|
# 'NAME': 'authentic',
|
35 |
|
# 'PASSWORD': 'secret',
|
36 |
|
# 'PORT': 5432
|
37 |
|
# }
|
38 |
|
# }
|
39 |
|
# or each param separately
|
40 |
|
# DATABASES['default']['HOST'] = 'another host'
|
41 |
|
# DATABASES['default']['PASSWORD'] = 'another secret'
|
|
48 |
#EMAIL_SUBJECT_PREFIX = '[authentic] '
|
|
49 |
#SERVER_EMAIL = 'root@authentic.example.org'
|
|
50 |
#DEFAULT_FROM_EMAIL = 'webmaster@authentic.example.org'
|
|
51 |
|
|
52 |
# SMTP configuration
|
|
53 |
#EMAIL_HOST = 'localhost'
|
|
54 |
#EMAIL_HOST_USER = ''
|
|
55 |
#EMAIL_HOST_PASSWORD = ''
|
|
56 |
#EMAIL_PORT = 25
|
|
57 |
|
|
58 |
# HTTPS Security
|
|
59 |
#CSRF_COOKIE_SECURE = True
|
|
60 |
#SESSION_COOKIE_SECURE = True
|
|
61 |
|
|
62 |
# Idp
|
|
63 |
# SAML 2.0 IDP
|
|
64 |
#A2_IDP_SAML2_ENABLE = False
|
|
65 |
# CAS 1.0 / 2.0 IDP
|
|
66 |
#A2_IDP_CAS_ENABLE = False
|
|
67 |
# OpenID 1.0 / 2.0 IDP
|
|
68 |
#A2_IDP_OPENID_ENABLE = False
|
|
69 |
|
|
70 |
# Authentifications
|
|
71 |
#A2_AUTH_PASSWORD_ENABLE = True
|
|
72 |
#A2_SSLAUTH_ENABLE = False
|
42 |
|
-
|