Apache CXF API

org.apache.cxf.ws.security.trust.claims
Class ClaimsCallback

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

public class ClaimsCallback
extends Object
implements Callback

This Callback class provides a pluggable way of sending Claims to the STS. 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 claims Object to be sent in the request. This object can be either a DOM Element to be written out "as is", or else a org.apache.cxf.rt.security.claims.ClaimCollection Object which will be serialized in the request.


Constructor Summary
ClaimsCallback()
           
ClaimsCallback(Message currentMessage)
           
 
Method Summary
 Object getClaims()
           
 Message getCurrentMessage()
           
 void setClaims(Object claims)
           
 void setCurrentMessage(Message currentMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClaimsCallback

public ClaimsCallback()

ClaimsCallback

public ClaimsCallback(Message currentMessage)
Method Detail

setClaims

public void setClaims(Object claims)

getClaims

public Object getClaims()

setCurrentMessage

public void setCurrentMessage(Message currentMessage)

getCurrentMessage

public Message getCurrentMessage()

Apache CXF API

Apache CXF