KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Spring web application with two contexts: one ( applicationContext ) built by ContextLoaderListener and a second ( webContext ) built by DispatcherServlet . Within the applicationContext is a bean ( org.springframework.security.authentication.DefaultAuthenticationEventPublisher ) that fires spring context events. But the receiver for the event is defined in the webContext . And that receiver did not get the event. (If put the receiver for test purpose in the applicationContext then it get the event, but I can not do this, because I need the webContext s for its functionality.) So my question is, how to bridges the events from the applicationContext to webContext ?
Tags (comma-separated)
Save Edits
Cancel