passwordCallback in CXF
问题 I develop a webservice client for an existing webservice. I am using Apache CXF 2.2. The service requires security with Username and plain text password, which I configured like this: <bean id="myPasswordCallback" class="com.kraemer_imd.mobilized.m2m_adapter.ClientPasswordCallback"/> <jaxws:client id="m2mClientService" serviceClass="de.vodafone.easypu.ws.EasyPUOrderServicePortType" address="http://m2m.vodafone.de/speasy/services/EasyPUOrderService" bindingId="http://www.w3.org/2003/05/soap