com.ca.jcs.sdkws.connection
Class SDKWSCallbackHandler
java.lang.Object
com.ca.jcs.sdkws.connection.SDKWSCallbackHandler
- All Implemented Interfaces:
- CallbackHandler
public class SDKWSCallbackHandler
- extends Object
- implements CallbackHandler
Client Password Callback Handler used to supply the password required for the WS-Security token
in the web service.
This should be set via setWssPassword.
|
Method Summary |
void |
handle(Callback[] callbacks)
This just sets the password in the provided callbacks. |
void |
setPassword(String password)
Set the password that will be used in the callback. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDKWSCallbackHandler
public SDKWSCallbackHandler()
handle
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
- This just sets the password in the provided callbacks.
- Specified by:
handle in interface CallbackHandler
- Parameters:
callbacks - the list of callbacks to set the password in
- Throws:
IOException
UnsupportedCallbackException
setPassword
public void setPassword(String password)
- Set the password that will be used in the callback.
- Parameters:
password - the password that will be used in the callback.
Created 2011-07-14 13:27 EST