From 7d11d4abf6437dc34ba0d88f501d6b6b693ac219 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Mon, 2 Apr 2012 11:59:18 +1000 Subject: [PATCH] temporarily hack out the keystone auth. Signed-off-by: Angus Salkeld --- heat/common/context.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/heat/common/context.py b/heat/common/context.py index 5494793c..db689bde 100644 --- a/heat/common/context.py +++ b/heat/common/context.py @@ -94,7 +94,10 @@ class ContextMiddleware(wsgi.Middleware): using NoAuth. In that case, assume that is_admin=True. """ auth_tok = req.headers.get('X-Auth-Token') - if auth_tok: + # + # hack alert, this is for POC only FIXME properly! + # + if False: if req.headers.get('X-Identity-Status') == 'Confirmed': # 1. Auth-token is passed, check other headers user = req.headers.get('X-User-Id') -- 2.45.2