When working with JAAS based authentication it is necessary to run the code as a certain subject.

For code that is called from the outside as well as from the karaf shell there are existing solutions to do the login. I wonder if there is an OSGi mechanism to do the same for code that is started inside a bundle. (Activator, blueprint or DS). What I would like to have is some way to say: The startup code for this bundle should run as a certain user.

Is this already possible or would I have to create such a mechanism myself?

Christian

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to