If you're signing something then you definately need a password. Are you saying that it's producing a signature with no callbackhandler implementation?
Colm. On Fri, Mar 4, 2011 at 4:01 PM, Abid K. <[email protected]> wrote: > Hi Colm, thanks for the explanation. I am signing the request using a > pfx file which contains the key. > > > On 4 March 2011 14:36, Colm O hEigeartaigh <[email protected]> wrote: >> It depends on what your client is doing, you only need a >> CallbackHandler implementation for certain actions, i.e. when you need >> a password. >> >> Colm. >> >> On Fri, Mar 4, 2011 at 2:19 PM, Abid K. <[email protected]> wrote: >>> Hi all, I have successfully setup a CXF client, but I am a little >>> confused regarding the CallbackHandler. >>> >>> It seems I just need to specify location of the callback class in the >>> WSS4J properties, but I can leave out the implementation and the >>> client still works. e.g. >>> >>> public class PWCBHandler implements CallbackHandler { >>> public void handle( Callback[ ] callbacks ) throws IOException, >>> UnsupportedCallbackException { >>> } >>> } >>> >>> I've seen examples where a user and password are set, but for some >>> reason I don't need to specify any of this. I'm hoping someone could >>> clarify why I don't need it. >>> >>> Thanks >>> >> >
