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