org.mule.module.cxf.wssec
Class ClientPasswordCallback

java.lang.Object
  extended by org.mule.module.cxf.wssec.ClientPasswordCallback
All Implemented Interfaces:
CallbackHandler

public class ClientPasswordCallback
extends Object
implements CallbackHandler

This callback simply supplies the password so that it's not stored in our config file. You will need to call ClientPasswordCallback.setPassword("password"); from your code before invoking the secure service.


Constructor Summary
ClientPasswordCallback()
           
 
Method Summary
 void handle(Callback[] callbacks)
           
static void setPassword(String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientPasswordCallback

public ClientPasswordCallback()
Method Detail

setPassword

public static void setPassword(String password)

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.