Fixed
Details
Details
Assignee
Scott Cantor
Scott CantorReporter
Scott Cantor
Scott CantorOriginal estimate
4h
Components
Fix versions
Affects versions
Created August 2, 2012 at 8:54 PM
Updated August 2, 2012 at 11:56 PM
Resolved August 2, 2012 at 11:56 PM
The external-auth handler in loopback mode has no way to get the address set for the client session other than the usual request.getClientAddress call inside the session cache, so it's set to 127.0.0.1.
If you side-step the address lookup using the REMOTE_ADDR property and use an HTTP header, then the address check inside the handler itself to limit access breaks, obviously.
May need to use deprecated session cache method for now to set the address manually or provide an additional API somewhere.