Package org.apache.wss4j.common.ext
Class AttachmentRequestCallback
java.lang.Object
org.apache.wss4j.common.ext.AttachmentRequestCallback
- All Implemented Interfaces:
Callback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe requested attachment which will be secured.booleanvoidsetAttachmentId(String attachmentId) voidsetAttachments(List<Attachment> attachments) voidsetRemoveAttachments(boolean removeAttachments) Set whether to remove the attachments when we're reading them.
-
Constructor Details
-
AttachmentRequestCallback
public AttachmentRequestCallback()
-
-
Method Details
-
getAttachmentId
The requested attachment which will be secured. If null all attachments are requested -
setAttachmentId
-
getAttachments
-
setAttachments
-
isRemoveAttachments
public boolean isRemoveAttachments() -
setRemoveAttachments
public void setRemoveAttachments(boolean removeAttachments) Set whether to remove the attachments when we're reading them. The default is "true".
-