Pluggable auth provider: Can't write a custom plugin due to hardcoded check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Guang Yee |
Bug Description
Provider plugin provides an interface so that some one customize or rewrite UUID and PKI providers. But unfortunately there is a hard coded check which prevents pluggablity
provider.py -- get_provider
if ((CONF.
return CONF.token.provider
PKI_PROVIDER and UUID_PROVIDERS are global variable which hold default provider. Do we need this check?
Ofcourse, I can change the value of the global variable, but that doesn't fit the pluggable design.
Changed in keystone: | |
status: | Triaged → In Progress |
Changed in keystone: | |
status: | In Progress → Fix Committed |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | havana-rc1 → 2013.2 |
Yes, we do need a check similar to that to manage backwards compatibility between token_format vs [token] provider, but it certainly blocks alternative implementations of either UUID or PKI, as is!