Class MessageAuthorizationDispatchInterceptor<T extends Message>

java.lang.Object
org.axonframework.extension.spring.authorization.MessageAuthorizationDispatchInterceptor<T>
Type Parameters:
T - The message type this interceptor can process
All Implemented Interfaces:
MessageDispatchInterceptor<T>

public class MessageAuthorizationDispatchInterceptor<T extends Message> extends Object implements MessageDispatchInterceptor<T>
A MessageDispatchInterceptor that adds the {$code username} and {$code authorities} from the authorized principle.
Since:
4.11.0
Author:
Roald Bankras