WIP: First pass at using the new EventBus to fire AuthC events.
I'm digging the simplicity of the EventBus, but currently it is only really* used by the ReflectionBuilder
This is attempt to see what publishing auth events from the AuthenticationRealm would look like.
- The plumbing exists for custom realms, to make full use of the EventBus, it is just that none of the stock
Realmsmake direct use of it at the moment.
@bdemers I like this one, we can add it to the 2.0.0 work. Thoughts?
@fpapon yeah!
Does the EventBusAware and the other *Aware casting usage of Shiro work well with OSGi?
@fpapon yeah! Does the
EventBusAwareand the other*Awarecasting usage of Shiro work well with OSGi?
I never try but we have an EventAdmin in OSGi and I think it would be nice to use it. I will take a look ;)
Great! I am really looking forward to seeing other events, such as "configurationUpdatedEvent" (if that ever happened) or events about the realms from a SecurityManager perspective, as those could be useful for M(X)Beans.
I'm also thinking about to sent events to external bus like Kafka.