Package org.axonframework.extension.spring.authorization
@NullMarked
package org.axonframework.extension.spring.authorization
Part of the Axon Extension module. Contains classes related to Spring authorization.
-
ClassDescriptionMessageAuthorizationDispatchInterceptor<T extends Message>A
MessageDispatchInterceptorthat adds the {$code username} and {$code authorities} from the authorized principle.MessageAuthorizationHandlerInterceptor<M extends Message>AMessageHandlerInterceptorthat verifies authorization based onSecuredannotations on the payload ofMessages.MessageHandlerDefinition that verifies authorization based onSecuredannotation on the message handler.Exception indicating that a message has been rejected due to a lack of authorization.