felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: Bundle to simplify JAAS usage in OSGi
Date Thu, 27 Sep 2012 21:47:05 GMT

Thanks Chetan for the proposal.

I find this a very interesting project and would think it would be a good addition to the
Apache Felix portfolio.

What do others think ?

Disclosure: Chetan also works for Adobe and we have been discussing this before.


Am 26.09.2012 um 15:56 schrieb Chetan Mehrotra:

> I have been working on a poc to simplify usage if JAAS with Sling and
> Jackrabbit. Using of JAAS within OSGi is often tricky because of
> classloading issues. There has been some work done around this
> 1. JAAS support in Apache Karaf
> 2. Proposal by Stefan Vladov in the presentation [1] given by him at
> OSGi Community Event 2011
> Following the proposal at #2 and borrowing some ideas from Apache
> Karaf I implemented a bundle which simplifies usage of JAAS within
> OSGi env. It supports following features
> 1. It can work both in Standalone and AppServer deployments i.e. in
> those environment where global JAAS configuration might be used by
> other applications and our usage of JAAS should not affect them
> 2. It enables usage of OSGi Configuration support to dynamically
> configure the login modules.
> 3. It allows LoginModule instances to be created via factories
> registered in OSGi Service Registry
> 4. It does not require the client to depend on any OSGi API
> 5. It works well with the dynamic nature of the OSGi env
> 6. Implementation depends only on Core OSGi API and ConfigAdmin
> Complete details are provided at [2]
> Kindly have a look at it and provide feedback!!
> Chetan Mehrotra
> [1] http://www.slideshare.net/mfrancis/common-security-services-consolidation-patterns-for-legacy-components-stefan-vladov
> [2] https://github.com/chetanmeh/c/wiki/JAAS-in-OSGi

View raw message