You should have a look at Karaf.  JAAS does not work well in OSGi
without some modifications (which we've done in Karaf).
See http://svn.apache.org/repos/asf/karaf/trunk/jaas/ for the JAAS related bits.

On Wed, Apr 20, 2011 at 07:32, Kirchev, Lazar <[email protected]> wrote:
> Hello,
>
> I am implementing JAAS authentication with SSHD. I have the following 
> problem: when the JaasPasswordAuthenticator tries to invoke my LoginModule 
> implementation (it is in a separate bundle), the LoginMadule implementation 
> class cannot be loaded by the sshd-core bundle class loader. Actually this 
> should be expected, as the LoginModule implementation package cannot be made 
> visible to sshd-core bundle classloader without modifying sshd-core's 
> manifest. Could anyone help with a solution for this?
>
> Thanks and regards,
> Lazar
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com/

Reply via email to