Not all token drivers have an implementation of delete_tokens()

Bug #1227507 reported by Henry Nash
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Doug Hellmann

Bug Description

The SQL token driver has an implementation of delete_tokens() allowing for, say, efficient deletion of all tokens for a user. Unfortunately the other backend drivers do not...so this method is currently implementation instead in the virtual driver layer. We should fill out the other backends and then make the virtual driver layer what it should be...i.e. virtual and let the call fall through to the appropriate backend.

Henry Nash (henry-nash)
Changed in keystone:
importance: Undecided → Medium
assignee: nobody → Henry Nash (henry-nash)
Adam Young (ayoung)
Changed in keystone:
status: New → Confirmed
Changed in keystone:
assignee: Henry Nash (henry-nash) → Doug Hellmann (doug-hellmann)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/50078
Committed: http://github.com/openstack/keystone/commit/9a0f7408b89f325bd0198d308a6f617f832b2a0d
Submitter: Jenkins
Branch: master

commit 9a0f7408b89f325bd0198d308a6f617f832b2a0d
Author: Doug Hellmann <email address hidden>
Date: Sun Oct 6 17:45:10 2013 -0400

    Use abstract base class for token driver

    Use the abc module for managing abstract base classes in the driver
    layer and add missing methods to concrete classes.

    bp abstract-base-class-drivers
    fixes bug: 1227507

    Change-Id: Ie8ebef10d1d0363813a07766433e18793fe448da

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.