diff options
author | asteroide <thomas.duval@orange.com> | 2015-09-24 16:27:16 +0200 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-09-24 16:27:16 +0200 |
commit | 92d11d139e9f76d4fd76859aea78643fc32ef36b (patch) | |
tree | bd5a2e7b50853498074ab55bdaee4452c460010b /keystone-moon/keystone/exception.py | |
parent | 49325d99acfadaadfad99c596c4ada6b5ec849de (diff) |
Update Keystone code from repository.
Change-Id: Ib3d0a06b10902fcc6d520f58e85aa617bc326d00
Diffstat (limited to 'keystone-moon/keystone/exception.py')
-rw-r--r-- | keystone-moon/keystone/exception.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/keystone-moon/keystone/exception.py b/keystone-moon/keystone/exception.py index 8e573c4c..f5c0e1cd 100644 --- a/keystone-moon/keystone/exception.py +++ b/keystone-moon/keystone/exception.py @@ -357,6 +357,13 @@ class DomainConfigNotFound(NotFound): 'configuration for domain %(domain_id)s') +class ConfigRegistrationNotFound(Exception): + # This is used internally between the domain config backend and the + # manager, so should not escape to the client. If it did, it is a coding + # error on our part, and would end up, appropriately, as a 500 error. + pass + + class Conflict(Error): message_format = _("Conflict occurred attempting to store %(type)s -" " %(details)s") @@ -480,3 +487,9 @@ class OAuthHeadersMissingError(UnexpectedError): 'HTTPd or Apache, ensure WSGIPassAuthorization ' 'is set to On.') title = 'Error retrieving OAuth headers' + + +class TokenlessAuthConfigError(ValidationError): + message_format = _('Could not determine Identity Provider ID. The ' + 'configuration option %(issuer_attribute)s ' + 'was not found in the request environment.') |