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.
  • Constructor Details

    • DelegationCallback

      public DelegationCallback()
    • DelegationCallback

      public DelegationCallback(org.apache.cxf.message.Message currentMessage)
  • Method Details

    • setToken

      public void setToken(Element token)
    • getToken

      public Element getToken()
    • setCurrentMessage

      public void setCurrentMessage(org.apache.cxf.message.Message currentMessage)
    • getCurrentMessage

      public org.apache.cxf.message.Message getCurrentMessage()