cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From semecxf <>
Subject CXF 2.5.2 Custom UserToken Validator (Authentication)
Date Mon, 02 Apr 2012 18:26:28 GMT
I have ws-policy for user to submit user name and password to access my
service, however in Password call back handler I don't have access to
original password from client.
I found this
tutorial and follow, but it is not working for me may be because I am using

Any idea how to incorporate ws-policy usertoken with custome authentication.

I have tried the following config for my service, but my custom validator
was not called.

<jaxws:endpoint id="testws"
		wsdlLocation="wsdl/testws.wsdl" address="/testservicews">
					<entry key="ws-security.validate.token" value="false" />
					<entry key="" value="true" />
					<entry key="ws-security.ut.validator"
value="" />

Can someone helps how to use custom authentication with ws-policy?

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message