org.apache.cxf.ws.security.trust.delegation
Class DelegationCallback
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegationCallback
public DelegationCallback()
DelegationCallback
public DelegationCallback(Message currentMessage)
setToken
public void setToken(Element token)
getToken
public Element getToken()
setCurrentMessage
public void setCurrentMessage(Message currentMessage)
getCurrentMessage
public Message getCurrentMessage()
Apache CXF