Review Board 2.0.8

HUE-878: [desktop] Add a remote user backend to better support running Hue behind a proxy server

Review Request #2401 - Created Oct. 22, 2012 and submitted

Joey Echeverria
Created a simple middleware to fix a bug in Django's built-in remote user middleware that properly sets the header name to have the HTTP\_ prefix and added a backend that authenticates or creates a user given nothing but the header. I also had to modify the to load the new middleware class.
I did some testing on a one node virtual cluster running CDH4.1. I applied the patch, set the backend to desktop.auth.backend.RemoteUserDjangoBackend and then used a Firefox add on to set the REMOTE\_USER header as if the request came through a proxy. I then changed the backend back to the default one and verified that setting the header had no effect.

Issue Summary

7 2 5 0
Description From Last Updated Status
trailing space Romain Rigaux Nov. 14, 2012, 3:44 a.m. Open
Need a space before. Romain Rigaux Nov. 14, 2012, 3:44 a.m. Open
Review request changed
Updated (Nov. 14, 2012, 4 a.m.)

Status: Closed (submitted)