Show More
@@ -276,9 +276,11 b' def get_container_username(environ, conf' | |||||
276 | if str2bool(config.get('container_auth_enabled', False)): |
|
276 | if str2bool(config.get('container_auth_enabled', False)): | |
277 | from paste.httpheaders import REMOTE_USER |
|
277 | from paste.httpheaders import REMOTE_USER | |
278 | username = REMOTE_USER(environ) |
|
278 | username = REMOTE_USER(environ) | |
|
279 | log.debug('extracted REMOTE_USER:%s' % (username)) | |||
279 |
|
280 | |||
280 | if not username and str2bool(config.get('proxypass_auth_enabled', False)): |
|
281 | if not username and str2bool(config.get('proxypass_auth_enabled', False)): | |
281 | username = environ.get('HTTP_X_FORWARDED_USER') |
|
282 | username = environ.get('HTTP_X_FORWARDED_USER') | |
|
283 | log.debug('extracted HTTP_X_FORWARDED_USER:%s' % (username)) | |||
282 |
|
284 | |||
283 | if username: |
|
285 | if username: | |
284 | # Removing realm and domain from username |
|
286 | # Removing realm and domain from username |
General Comments 0
You need to be logged in to leave comments.
Login now