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
>

Reply via email to