Yes, i understand that the request is SOAP hence pure xml but what about the
*Callback *object & what about the java *interceptor *which need to be
overloaded with the map properties as below?
What about the *cxf client*?

        *Client client =
org.apache.cxf.frontend.ClientProxy.getClient(port);
        Endpoint cxfEndpoint = client.getEndpoint();

        // Manual WSS4JOutInterceptor interceptor process
        outProps.put(WSHandlerConstants.ACTION,
WSHandlerConstants.USERNAME_TOKEN);
        outProps.put(WSHandlerConstants.USER, "cellact");
        outProps.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT);
        outProps.put(WSHandlerConstants.PW_CALLBACK_CLASS,
ClientPasswordCallback.class.getName());
                
        WSS4JOutInterceptor wssOut = new WSS4JOutInterceptor(outProps);
        cxfEndpoint.getOutInterceptors().add(wssOut);*

How will a C++ client (for example) comply to this techniques? Isn't that
the reason it is called WSS4 Java?
Thanks.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-web-service-with-ws-security-Why-the-wsdl-doesn-t-demand-the-username-pwd-tp4566648p4572319.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to