UNKNOWN
Project description
django-crowd
============
Simple Attlasian CROWD authentication backend for Django
Installation
============
pip install django-crowd
Also, to install development version you can try this:
pip install git+git://github.com/gbezyuk/django-crowd.git
Or this:
pip install -e git+git://github.com/gbezyuk/django-crowd.git#egg=Django-Crowd
You could also simply copy this repository crowd folder to your project.
Configuration:
==============
Put a CROWD configuration in your settings.py:
CROWD = {
'url': 'http://your.crowd.url:port/crowd/rest', # your CROWD rest API url
'app_name': 'your-registered-crowd-application-name', # appname, registered with CROWD
'password': 'application-password', # correct password for provided appname
'superuser': True, # if set makes CROWD-authorized users superusers;
# BE CAREFUL WITH THIS PARAMETER!
}
Also add 'crowd.CrowdBackend' in your AUTHENTICATION_BACKENDS settings list.
Better to put it last for minimal collision risk:
AUTHENTICATION_BACKENDS = (
# ...
'django.contrib.auth.backends.ModelBackend',
'crowd.backends.CrowdBackend'
)
Credits:
========
Originally written for Django v1.3 by Konstantin J. Volkov <konstantin-j-volkov@yandex.ru> at 12.07.2012
Refactored, put together and tested with Django v1.4 by Grigoriy Beziuk <gbezyuk@gmail.com> at 27.08.2012
============
Simple Attlasian CROWD authentication backend for Django
Installation
============
pip install django-crowd
Also, to install development version you can try this:
pip install git+git://github.com/gbezyuk/django-crowd.git
Or this:
pip install -e git+git://github.com/gbezyuk/django-crowd.git#egg=Django-Crowd
You could also simply copy this repository crowd folder to your project.
Configuration:
==============
Put a CROWD configuration in your settings.py:
CROWD = {
'url': 'http://your.crowd.url:port/crowd/rest', # your CROWD rest API url
'app_name': 'your-registered-crowd-application-name', # appname, registered with CROWD
'password': 'application-password', # correct password for provided appname
'superuser': True, # if set makes CROWD-authorized users superusers;
# BE CAREFUL WITH THIS PARAMETER!
}
Also add 'crowd.CrowdBackend' in your AUTHENTICATION_BACKENDS settings list.
Better to put it last for minimal collision risk:
AUTHENTICATION_BACKENDS = (
# ...
'django.contrib.auth.backends.ModelBackend',
'crowd.backends.CrowdBackend'
)
Credits:
========
Originally written for Django v1.3 by Konstantin J. Volkov <konstantin-j-volkov@yandex.ru> at 12.07.2012
Refactored, put together and tested with Django v1.4 by Grigoriy Beziuk <gbezyuk@gmail.com> at 27.08.2012
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-crowd-0.42dev.tar.gz
(3.8 kB
view details)
File details
Details for the file django-crowd-0.42dev.tar.gz
.
File metadata
- Download URL: django-crowd-0.42dev.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5c68f80bce9a93ef3388b878401c5019b01cc4ed9ae6d77f5e69b60eb205583 |
|
MD5 | 12dd615bce000ce948dffccfb8090dbb |
|
BLAKE2b-256 | b96a72fa1319d1097f2ba8b91fe5356945ed0c857827462e2461394ece9e5ad7 |