Bases: keystone.exception.Unauthorized
Bases: keystone.exception.AuthPluginException
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.AuthPluginException
Bases: keystone.exception.Unauthorized
Bases: keystone.exception.Error
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.Error
Bases: exceptions.Exception
Bases: keystone.exception.NotFound
Bases: keystone.exception.Forbidden
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.Forbidden
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: exceptions.Exception
Base error class.
Child classes should define an HTTP status code, title, and a message_format.
Bases: keystone.exception.NotFound
Bases: keystone.exception.SecurityError
Bases: keystone.exception.Forbidden
Bases: keystone.exception.Error
When you want to return a 403 Forbidden response but not security.
Use this for errors where the message is always safe to present to the user and won’t give away extra information.
Bases: keystone.exception.Error
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.Forbidden
Bases: keystone.exception.NotFound
Bases: keystone.exception.Forbidden
Bases: keystone.exception.Forbidden
Bases: keystone.exception.NotFound
Bases: keystone.exception.Forbidden
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.NotFound
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.NotFound
Bases: exceptions.Exception
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.Error
Bases: keystone.exception.Error
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.ForbiddenNotSecurity
Bases: keystone.exception.PasswordValidationError
Bases: keystone.exception.Unauthorized
Bases: keystone.exception.ValidationError
Bases: keystone.exception.ForbiddenNotSecurity
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.ForbiddenNotSecurity
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.ValidationError
Bases: keystone.exception.Error
Security error exception.
Avoids exposing details of security errors, unless in insecure_debug mode.
Bases: keystone.exception.NotFound
Bases: keystone.exception.NotFound
Bases: keystone.exception.ValidationError
Bases: keystone.exception.NotFound
Bases: keystone.exception.ValidationError
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.NotFound
Bases: keystone.exception.Forbidden
Bases: keystone.exception.ValidationError
Bases: keystone.exception.SecurityError
Avoids exposing details of failures, unless in insecure_debug mode.
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.UnexpectedError
Bases: keystone.exception.Unauthorized
Bases: keystone.exception.NotFound
Bases: keystone.exception.Error
Bases: keystone.exception.Error
Bases: keystone.exception.Error
Bases: keystone.exception.Error
Bases: keystone.exception.NotFound
oslo.i18n integration module.
See http://docs.openstack.org/developer/oslo.i18n/usage.html .
Notifications module for OpenStack Identity Service resources.
The actions on resources.
Bases: object
Namespace for audit notification functions.
This is a namespace object to contain all of the direct notification functions utilized for Manager methods.
Bases: object
Send CADF event notifications for various methods.
This function is only used for Authentication events. Its action and event_type are dictated below.
Sends CADF notifications for events such as whether an authentication was successful or not.
Parameters: | operation – The authentication related action being performed |
---|
Bases: object
Send CADF notifications for role_assignment methods.
This function is only used for role assignment events. Its action and event_type are dictated below.
action: created.role_assignment or deleted.role_assignment
identity.role_assignment.deleted
Sends a CADF notification if the wrapped method does not raise an Exception (such as keystone.exception.NotFound).
Parameters: | operation – one of the values from ACTIONS (created or deleted) |
---|
Empty subscribers dictionary.
This effectively stops notifications since there will be no subscribers to publish to.
alias of CadfNotificationWrapper
A class decorator to declare a class to be a notification listener.
A notification listener must specify the event(s) it is interested in by defining a event_callbacks attribute or property. event_callbacks is a dictionary where the key is the type of event and the value is a dictionary containing a mapping of resource types to callback(s).
ACTIONS contains constants for the currently supported events. There is currently no single place to find constants for the resource types.
Example:
@listener
class Something(object):
def __init__(self):
self.event_callbacks = {
notifications.ACTIONS.created: {
'user': self._user_created_callback,
},
notifications.ACTIONS.deleted: {
'project': [
self._project_deleted_callback,
self._do_cleanup,
]
},
}
Send a notification to registered extensions.
Register each callback with the event.
Parameters: |
|
---|---|
Raises: |
|
Reset the notifications internal state.
This is used only for testing purposes.
Send notification to inform observers about SAML events.
Parameters: |
|
---|