karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Issue in injecting a bean with <JAAS config
Date Wed, 17 May 2017 11:58:18 GMT
Hi,

do you mean you have to create several jaas:module using service refs ?

Not sure I understand exactly your use case.

Regards
JB

On 05/17/2017 12:46 PM, ashgonline wrote:
> Hi,
> I have one peculiar thing to achieve.
> I need to inject a list of bean references while initiating a JAAS module.
>
> <jaas:config name="karaf" rank="2">
>         <jaas:module
> className="org.apache.karaf.jaas.modules.osgi.OsgiConfigLoginModule"
>                      flags="required">
>           </jaas:module>
>  </jaas:config>
>
> Need to add a ref list of beans when this module is initialised.
> I am not sure how to achieve the same.
>
> Any help in this regard will be welcome.
>
> Thanks..
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Issue-in-injecting-a-bean-with-JAAS-config-tp4050372.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message