You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by pdicandia <pd...@dccsoft.com.ar> on 2012/03/08 04:55:14 UTC

Re: cxfbc:provider with WS-Security and previous JAAS authentication

Hi,
I'm doing something similar... a web services proxy (esb forwards requests
and responses). Everything worked fine.

I was migrating from fuse 4.4.0 o 4.4.1 when i'm started to face an error in
web services that use security interceptors.

This configuration works fine in fuse 4.4.0, but in 4.4.1 i get an error in
the destination web service's response.

		<cxf:cxfEndpoint id="datagenCatalog"
			address="http://0.0.0.0:9091/esb/datagenCatalog"
			wsdlURL="classpath:wsdl/catalog.wsdl">
			<cxf:inInterceptors>
				<bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
				<constructor-arg>
					<map>
						<entry key="action" value="UsernameToken" />
						<entry key="passwordType" value="PasswordText" />
						<entry key="passwordCallbackRef">
							<ref bean="passwordCallback"/>
						</entry>
					</map>
				</constructor-arg>
				</bean>
			</cxf:inInterceptors>
		</cxf:cxfEndpoint>

Do you know if something changed in version 4.4.1 related to interceptors? 
Thanks

--
View this message in context: http://servicemix.396122.n5.nabble.com/cxfbc-provider-with-WS-Security-and-previous-JAAS-authentication-tp5518767p5546380.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.