org.mule.module.cxf.wssec
Class ClientPasswordCallback
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientPasswordCallback
public ClientPasswordCallback()
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.