karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <pau...@apache.org>
Subject Re: Looking for examples or suggestion relevant to Realm with JAX-RS,CXF Rest, and Karaf 4.2?
Date Thu, 02 Aug 2018 17:53:35 GMT
Adding the bean for class
org.apache.cxf.jaxrs.security.JAASAuthenticationFilter to the provider list

	<jaxrs:server id="sampleCrudRestServer" address="/SampleCrud">
			<ref component-id="sampleCrud" />
			<bean class="org.apache.cxf.jaxrs.security.JAASAuthenticationFilter">
				<property name="contextName" value="myUserRealm" />
				<property name="roleClassifier" value="ROLE_" />
			<bean class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider" />

Thank you,

Paul Spencer

Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

View raw message