Apache CXF API

org.apache.cxf.ws.security.trust.delegation
Class DelegationCallback

java.lang.Object
  extended by org.apache.cxf.ws.security.trust.delegation.DelegationCallback
All Implemented Interfaces:
Callback

public class DelegationCallback
extends Object
implements Callback

This Callback class provides a pluggable way of performing delegation. A CallbackHandler instance will be supplied with this class, which contains a reference to the current Message. The CallbackHandler implementation is required to set the token Element to be sent in the request.


Constructor Summary
DelegationCallback()
           
DelegationCallback(Message currentMessage)
           
 
Method Summary
 Message getCurrentMessage()
           
 Element getToken()
           
 void setCurrentMessage(Message currentMessage)
           
 void setToken(Element token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegationCallback

public DelegationCallback()

DelegationCallback

public DelegationCallback(Message currentMessage)
Method Detail

setToken

public void setToken(Element token)

getToken

public Element getToken()

setCurrentMessage

public void setCurrentMessage(Message currentMessage)

getCurrentMessage

public Message getCurrentMessage()

Apache CXF API

Apache CXF