django-webgate

Django Authentication Middleware for WebGate Oracle AccessManager.


License
BSD-3-Clause
Install
pip install django-webgate==1.0.1

Documentation

django-webgate

A Django Authentication Middleware for WebGate Oracle Access Manager.

This is a subclass of the RemoteUserMiddleware. The header value is configurable by setting a django setting of WEBGATE_HEADER.

WEBGATE_HEADER = 'CUSTOM_WEBGATE_HEADER'

Note: The default header value is OAM_REMOTE_USER

Quick Start

1. Install using pip:

pip install django-webgate

2. Include "webgate" to your INSTALLED_APPS:

INSTALLED_APPS = [
    'webgate',
]

3. Include "OracleAccessManagerMiddleware" in MIDDLEWARE_CLASSES:

MIDDLEWARE_CLASSES = (
    'webgate.middleware.OracleAccessManagerMiddleware',
)