Hi all Felix gurus, I am using latest released bundles (5.4 distro and up to date LogService, JAAS and others bundles).
I wish to provide my own authentication/authorization system while using the Felix JAAS support. I develop with BndTools on Eclipse Luna 4.4 and standard OSGi annotations set (org.osgi...). I developed a small Gogo task to test my code and I am quickly stuck with a LoginException wrapping an AssertionError thrown from BundleLoginCreator (from Felix JAAS support classes) saying that No bundle exists to create LoginModule with my custom class 's name. It seems (looking at the source code) that this class uses some metadata stored in a map to identofy the LoginModule / bundle . Right , but it seems that my bundle does not provide this metadata . Have you an idea about the why ? I registered a cfg file for the factory : /taipan-jaas/load/org.apache.felix.jaas.Configuration.factory-macs-jaas.cfg I can see that everything seems ok in the Webconsole. I used bnd to add header metainformation Jaas-ModuleClass telling what is the LoginModule to be used. My client code will pick up the Felix JAAS factory and custom CallbackHandler then login through the logincontext. This portion of code seems ok, my problems live with the metadata used by the BundleLoginCreator. Your help would be helpful Kind regards Jerome --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

