~milo/linaro-license-protection/bug1183747

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: Paul Sokolovsky
  • Date: 2013-06-06 14:06:53 UTC
  • Revision ID: paul.sokolovsky@linaro.org-20130606140653-07wpgfb1f1ramqfd
Switch production to Crowd API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
 
127
127
# Name of "plugin" modules to use for group authentication
128
128
# Plugins will be queried in specified order until first positive match
129
 
GROUP_AUTH_MODULES = ['license_protected_downloads.group_auth_openid']
 
129
GROUP_AUTH_MODULES = ['license_protected_downloads.group_auth_crowd',
 
130
    'license_protected_downloads.group_auth_openid']
130
131
 
131
132
# Config for django_openid_auth.auth.OpenIDBackend
132
133
OPENID_CREATE_USERS = True
133
 
OPENID_SSO_SERVER_URL = 'https://login.launchpad.net/'
 
134
#OPENID_SSO_SERVER_URL = 'https://login.launchpad.net/'
 
135
OPENID_SSO_SERVER_URL = 'https://login.linaro.org:8443/openidserver/op'
134
136
OPENID_UPDATE_DETAILS_FROM_SREG = True
135
137
OPENID_LAUNCHPAD_TEAMS_MAPPING_AUTO = True
136
138
OPENID_FOLLOW_RENAMES = True
139
141
 
140
142
ATLASSIAN_CROWD_API_URL = \
141
143
    "https://login.linaro.org:8443/crowd/rest/usermanagement/1"
142
 
ATLASSIAN_CROWD_API_USERNAME = None
 
144
ATLASSIAN_CROWD_API_USERNAME = 'linaro-license-protection'
143
145
ATLASSIAN_CROWD_API_PASSWORD = None
144
146
 
145
147
# A sample logging configuration. The only tangible logging