karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: Problem reusing JAAS login modules
Date Tue, 28 Dec 2010 10:15:28 GMT
It's certainly a missing import package.  When drpped into the deploy
folder, the deployer will automatically add the required import
packages.

On Tuesday, December 28, 2010, Rafael Marins <rafael.marins@neociclo.com> 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
>
>
>
>
>

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

Mime
View raw message