Cool :) We will add this examples into the Karaf examples module in progress.
regards, François Papon [email protected] Le 02/08/2018 à 21:53, Paul Spencer a écrit : > François, > Adding the bean for class > org.apache.cxf.jaxrs.security.JAASAuthenticationFilter to the provider list > worked. > > <jaxrs:server id="sampleCrudRestServer" address="/SampleCrud"> > <jaxrs:serviceBeans> > <ref component-id="sampleCrud" /> > </jaxrs:serviceBeans> > <jaxrs:providers> > <bean > class="org.apache.cxf.jaxrs.security.JAASAuthenticationFilter"> > <property name="contextName" > value="myUserRealm" /> > <property name="roleClassifier" value="ROLE_" /> > </bean> > <bean > class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider" /> > </jaxrs:providers> > </jaxrs:server> > > Thank you, > > Paul Spencer > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
