I'm currently using shiro 1.5.0 with web whiteboard in karaf 4.2.8.

I'm using some deprecated Shiro classes to set up shiro, and I want to
get rid of using the deprecated classes.

The first snag I've encountered when replacing the deprecated classes is
that the IniWebEnvironment class needs a ServletContext reference, and
that's not something I have.

In the karaf 4.2.8 version of the whiteboard I create a
ServletContextHelper DS component to create the context the servlets and
filters relate to.

But the ServletContextHelper doesn't implement the ServletContext
interface, so I can't use that with the IniWebEnviroment.

Will it be possible to get a ServletContext OSGi service injected into a
@Reference, when using the web whiteboard of OSGi 7?

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ops4j/86o8u5165h.fsf%40dod.no.

Reply via email to