karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Problem reusing JAAS login modules
Date Tue, 28 Dec 2010 06:34:56 GMT
Hi Rafael,

it's certainly due to classloader issue. Could you paste your bundle pom 
to see the Import-Package statement ?

Regards
JB

On 12/28/2010 06:53 AM, Rafael Marins wrote:
> Hi,
>
> When using the PropertiesLoginModule from a blueprint file in my bundle
> located at the /OSGI-INF/blueprint/ folder, I've encountered problem
> with ClassNotFoundException. But I can get it working properly when
> deploying the blueprint xml into the /deploy/ folder.
>
> Check the logging stack trace here: http://pastebin.com/yFiKkpg3 (at
> line 57)
>
>  From my blueprint file: accord-jaas-module.xml
>
> ...
> <jaas:config name="accord">
> <jaas:module
> className="org.apache.karaf.jaas.modules.properties.PropertiesLoginModule"
> flags="required">
> users = $[karaf.base]/etc/accord-users.properties
> debug = true
> </jaas:module>
> </jaas:config>
> ...
>
> Any ideas on what must be done to solve this problem?
>
> --
> Rafael Marins
>
>
>
>

Mime
View raw message