Module Contents

noc.core.middleware.remoteuser.HEADER = HTTP_REMOTE_USER
Authenticate against REMOTE_USER request header

Middleware for utilizing Web-server-provided authentication.

If request.user is not authenticated, then this middleware attempts to authenticate the username passed in the REMOTE_USER request header. If authentication is successful, the user is automatically logged in to persist the user in the session.

Parameters:get_response – Callable returning response from downstream middleware