lprimak commented on issue #1091:
URL: https://github.com/apache/shiro/issues/1091#issuecomment-1739993071

   Hi, since you are using Jakarta EE 10, I would encourage you to use Shiro 
2.0-alpha-3 and Jakarta EE integration module as describer here:
   https://shiro.apache.org/jakarta-ee.html
   
   That way, you have a couple options to make injections work:
   * make your realm an `@ApplicationScoped @Named` bean and reference it from 
shiro.ini, as documented above.
   * Use OmniFaces' `Beans.getReference(...)` to `@Inject` your bean 
programmatically (will also work with Shiro 1.x)
   
   Let me know if you have any further questions.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to