public function getSession(\common_http_Request $request)
    {
        $authAdapter = new \tao_models_classes_HttpBasicAuthAdapter($request);
        $user = $authAdapter->authenticate();
        return new \common_session_RestSession($user);
    }