shiro icon indicating copy to clipboard operation
shiro copied to clipboard

WIP: First pass at using the new EventBus to fire AuthC events.

Open bdemers opened this issue 9 years ago • 5 comments

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 Realms make direct use of it at the moment.

bdemers avatar Jul 11 '16 21:07 bdemers

@bdemers I like this one, we can add it to the 2.0.0 work. Thoughts?

fpapon avatar May 29 '20 10:05 fpapon

@fpapon yeah! Does the EventBusAware and the other *Aware casting usage of Shiro work well with OSGi?

bdemers avatar May 29 '20 14:05 bdemers

@fpapon yeah! Does the EventBusAware and the other *Aware casting 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 ;)

fpapon avatar May 29 '20 14:05 fpapon

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.

bmarwell avatar Aug 17 '20 09:08 bmarwell

I'm also thinking about to sent events to external bus like Kafka.

fpapon avatar Aug 17 '20 11:08 fpapon