Tell pdc itself to use saml/mellon.

This commit is contained in:
Ralph Bean 2016-01-12 14:34:05 -05:00
parent c2897a6167
commit 3a879f6cde

View file

@ -34,6 +34,12 @@ REST_FRAMEWORK = {
'DEFAULT_PAGINATION_CLASS': 'pdc.apps.common.pagination.AutoDetectedPageNumberPagination',
}
# Because we don't want to kerberos, we want to ipsilon
LOGIN_URL = '/auth/saml2login'
AUTHENTICATION_BACKENDS = (
'pdc.apps.auth.backends.AuthMellonUserBackend',
'django.contrib.auth.backends.ModelBackend',
)
import os.path