I made a blog post back in September which demonstrates how to build a web application that uses jaas on karaf. If I recall in this example I didn't have to include these packages (in fact this was one of the reason that made us build the role policies).
It might help you a bit: http://iocanel.blogspot.com/2010/09/karafs-jaas-modules-in-action.html On Mon, Feb 14, 2011 at 4:11 PM, Ioannis Canellos <[email protected]> wrote: > Halo Charles, > > You don't need to import those in order to use jaas in web applications. > > > On Mon, Feb 14, 2011 at 3:56 PM, Charles Moulliard > <[email protected]>wrote: > >> Hi, >> >> Is there a trick when we deploy a WAR/WAB on apache karaf to avoid >> that we must import the following packages in the bundle to allow JAAS >> authentication with Karaf ? >> >> org.apache.karaf.jaas.modules, >> org.eclipse.jetty.plus.jaas, >> >> Regards, >> >> Charles Moulliard >> >> Sr. Principal Solution Architect - FuseSource >> Apache Committer >> >> Blog : http://cmoulliard.blogspot.com >> Twitter : http://twitter.com/cmoulliard >> Linkedin : http://www.linkedin.com/in/charlesmoulliard >> Skype: cmoulliard >> > > > > -- > *Ioannis Canellos* > http://iocanel.blogspot.com > > Integration Engineer @ Upstream S.A. <http://www.upstreamsystems.com> > > > -- *Ioannis Canellos* http://iocanel.blogspot.com Integration Engineer @ Upstream S.A. <http://www.upstreamsystems.com>
