RETIRED, A Django authentication backend for use with the OpenStack Keystone Identity backend.
Go to file
Helber Maciel Guerra 96ca1097a5 Get remote address from client, behind proxy servers, to log on console.
Discovering REMOTE_IP using headers variables and displaing on console
log.

The messages will be:
"Login successful for user "%(username)s", remote address %(remote_ip)s."
and
"Login failed for user "%(username)s", remote address %(remote_ip)s."

This patch was tested behind haproxy and nginx reverse proxy.

To set variable that want to use, must inform using settings
SECURE_PROXY_ADDR_HEADER variable. Whitout this setting the remote ip
will use REMOTE_ADDR header variable.

Change-Id: I977be6cb1d029048b9862cac4b6596fc2e2b3431
Closes-Bug: #1461266
2016-12-30 01:54:32 +00:00
doc/source Merge "Fixes modules index generated by Sphinx" 2015-07-24 18:48:06 +00:00
openstack_auth Get remote address from client, behind proxy servers, to log on console. 2016-12-30 01:54:32 +00:00
.gitignore Fix the path of build docs in .gitignore 2015-09-22 11:33:17 +00:00
.gitreview Add OpenStack .gitreview file 2013-07-17 11:22:38 -07:00
.mailmap Align with OpenStack project standards 2013-09-10 16:58:11 -05:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-15 20:49:41 +00:00
LICENSE Align with OpenStack project standards 2013-09-10 16:58:11 -05:00
MANIFEST.in Align with OpenStack project standards 2013-09-10 16:58:11 -05:00
README.rst Fix doc reference in README 2015-07-15 12:55:03 -06:00
babel-django.cfg Update translation setup 2016-01-31 00:10:47 +09:00
requirements.txt Updated from global requirements 2016-08-18 05:25:31 +00:00
setup.cfg Merge "Drop supporting python3.3" 2016-02-15 14:41:29 +00:00
setup.py Updated from global requirements 2015-09-18 20:42:11 +00:00
test-requirements.txt Updated from global requirements 2016-06-21 17:58:31 +00:00
tox.ini Fix django 1.10 tox env 2016-08-04 21:59:25 +01:00

README.rst

Django OpenStack Auth

Django OpenStack Auth is a pluggable Django authentication backend that works with Django's contrib.auth framework to authenticate a user against OpenStack's Keystone Identity API.

The current version is designed to work with the Keystone v2.0 and v3 API.

You can view the installation instructions on Read The Docs.