'Build headers that represent authenticated user from auth token.'

def _build_user_headers(self, env):

    username = env.get('HTTP_X_AUTH_USER', 'admin')
    project = env.get('HTTP_X_AUTH_PROJECT', 'admin')
    headers = {'HTTP_X_IDENTITY_STATUS': 'Confirmed', 'HTTP_X_PROJECT_ID': project, 'HTTP_X_PROJECT_NAME': project, 'HTTP_X_USER_ID': username, 'HTTP_X_USER_NAME': username, 'HTTP_X_ROLES': 'admin', 'HTTP_X_SERVICE_CATALOG': {}, 'HTTP_X_AUTH_USER': username, 'HTTP_X_AUTH_KEY': 'unset'}
    return headers
