com.ca.jcs.sdkws.connection
Class SDKWSCallbackHandler

java.lang.Object
  extended by 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.


Constructor Summary
SDKWSCallbackHandler()
           
 
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
 

Constructor Detail

SDKWSCallbackHandler

public SDKWSCallbackHandler()
Method Detail

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