karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: How to add a new JAAS realm in karafa 4.0.5
Date Mon, 29 Aug 2016 12:09:44 GMT
Maybe you have multiple blueprint in the same bundle or reference as we 
can see:

'http://cxf.apache.org/configuration/beans' namespace in the log

Maybe a <import/> somewhere ?

Regards
JB

On 08/29/2016 02:05 PM, cniehues wrote:
> I used the example from the documentation:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>            xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0"
>
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
>
>
>     <ext:property-placeholder placeholder-prefix="$["
> placeholder-suffix="]"/>
>
>     <jaas:config name="myrealm">
>         <jaas:module
> className="org.apache.karaf.jaas.modules.properties.PropertiesLoginModule"
>                      flags="required">
>             users = $[karaf.base]/etc/users.properties
>         </jaas:module>
>     </jaas:config>
>
> </blueprint>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/How-to-add-a-new-JAAS-realm-in-karaf-4-0-5-tp4047729p4047739.html
> Sent from the Karaf - User 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