toolbox.services.ws
Class WSClientService.WSClientPasswordCallback

Package class diagram package WSClientService.WSClientPasswordCallback
java.lang.Object
  extended by toolbox.services.ws.WSClientService.WSClientPasswordCallback
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
Enclosing class:
WSClientService

 class WSClientService.WSClientPasswordCallback
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler

WSS4J callback implementation to return the WS-Security password that must be used to access the service.


Constructor Summary
WSClientService.WSClientPasswordCallback()
          Default constructor.
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
          Obtain the configured password and set value on the WSPasswordCallback instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSClientService.WSClientPasswordCallback

WSClientService.WSClientPasswordCallback()
Default constructor.

Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws java.io.IOException,
                   javax.security.auth.callback.UnsupportedCallbackException
Obtain the configured password and set value on the WSPasswordCallback instance.

Specified by:
handle in interface javax.security.auth.callback.CallbackHandler
Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException