=== modified file 'lava_server/settings/common.py'
@@ -120,6 +120,8 @@
'linaro_django_xmlrpc',
'lava_markitup', # Support app for MarkItUp in LAVA
'south',
+ # Uncomment to enable Atlassian Crowd auth support.
+ #'crowdrest',
]
try:
@@ -141,6 +143,9 @@
AUTHENTICATION_BACKENDS = (
+ # Uncomment CrowdRestBackend and comment OpenIDBackend to enable
+ # Atlassian Crowd auth.
+ #'crowdrest.backend.CrowdRestBackend',
'django_openid_auth.auth.OpenIDBackend',
'django.contrib.auth.backends.ModelBackend',
)
@@ -154,6 +159,13 @@
from openid import oidutil
oidutil.log = lambda msg, level=0: None
+# Configuration settings for crowdrest.backend.CrowdRestBackend
+# Alternatively, can be set in production config for particular installed
+# instance.
+#AUTH_CROWD_APPLICATION_USER = 'appname'
+#AUTH_CROWD_APPLICATION_PASSWORD = 'apppass'
+#AUTH_CROWD_SERVER_REST_URI = 'https://crowd-server/crowd/rest/usermanagement/1'
+
RESTRUCTUREDTEXT_FILTER_SETTINGS = {"initial_header_level": 4}
# Skip south tests as they seem to break everything else.
=== modified file 'setup.py'
@@ -73,6 +73,10 @@
'south >= 0.7.3',
'versiontools >= 1.8',
'markdown >= 2.0.3',
+ # Disabled by default, as most people don't need
+ # Atlassian Crowd auth. Handled on the level of
+ # buildout.cfg instead.
+ #'django-crowd-rest-backend >= 0.3',
],
setup_requires=[
'versiontools >= 1.8',