GitHub user AndrewG10i added a comment to the discussion: How to get 
SecurityManager once Jakarta EE EnvironmentLoaderListener (@WebListener) 
triggered and Shiro environment initialized?

I will take another look at the custom WebEnvironment tomorrow.

Regarding “_custom listener invoked after Shiro’s_”: that’s the issue. 
Currently, there is no deterministic way to control the invocation order of 
listeners annotated with `@WebListener`. And once a listener is annotated with 
`@WebListener`, I can’t also add it to `web.xml` as a `<listener>` - it throws 
an exception.

GitHub link: 
https://github.com/apache/shiro/discussions/2445#discussioncomment-15439418

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to