2 Jan 16:55
Re: Jetty Security Handler
Hi Amit, You can provide basic yes/no authentication by registering your servlets/resources with a custom HttpContext and implementing HttpContext.handleSecurity(). This has been used to support BASIC authentication with UserAdmin although I'm not aware of an open source implementation. If you're doing something a bit more sophisticated where you need to decouple your HttpContext from your authentication then you might want to write a Servlet Filter. Unfortunately the OSGi Http Service does not currently provide Filter support however you can wrap your Servlets and Resources fairly easily. See FilterServletAdaptor in "cvsroot/eclipse" "equinox-incubator/org.eclipse.equinox.http.helper" -Simon equinox-dev-bounces@... wrote on 12/30/2007 06:56:55 AM: > Hello Equinox Developers, > > I am using Jetty osgi bundle v5_1_11, but now I find myself needing > to add a security handler to support basic http and looking at the > properties exposed in the OSGI/metatype/config.xml, I don't see that > it has been exposed (I couldn't find it in the code -Let me know if I > missed something). Has anyone worked on providing such a > functionality in the OSGi context? What would you recommend? > > Best, > Amit(Continue reading)
The reason was a wrong folder layout of the feature within the zip
download. A new fixed version is ready for download:
RSS Feed