Package org.apache.cxf.ws.security.wss4j
Class AttachmentCallbackHandler
- java.lang.Object
-
- org.apache.cxf.ws.security.wss4j.AttachmentCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class AttachmentCallbackHandler extends Object implements CallbackHandler
A CallbackHandler to be used to sign/encrypt SOAP Attachments.
-
-
Constructor Summary
Constructors Constructor Description AttachmentCallbackHandler(Collection<Attachment> attachments)AttachmentCallbackHandler(Message message)
-
-
-
Constructor Detail
-
AttachmentCallbackHandler
public AttachmentCallbackHandler(Message message)
-
AttachmentCallbackHandler
public AttachmentCallbackHandler(Collection<Attachment> attachments)
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
-