Re: How do I find shiro WebEnvironment in karaf?

2024-03-08 Thread Steinar Bang
> Steinar Bang : > This filter already knows the WebEnvironment > > https://github.com/steinarb/oldalbum/blob/master/oldalbum.web.security/src/main/java/no/priv/bang/oldalbum/web/security/OldAlbumShiroFilter.java#L58 > It knows nothing about the database status, however. > But since this

Re: How do I find shiro WebEnvironment in karaf?

2024-03-08 Thread Steinar Bang
> Steinar Bang : > 2. Then I create a component creating ShiroFilter plugging into the > servlet context created by the ServletContextHelper > >

Re: How do I find shiro WebEnvironment in karaf?

2024-03-08 Thread Steinar Bang
> Francois Papon : > Yes you can register whatever instance class you want in the service > registry with related properties. Thanks, but I was wondering if it was possible to go the other way, so to speak...? I.e. is it possible to have an existing shiro WebEnviroment belonging to a