public class RenameToUuidUrlSigner extends DefaultUrlSigner
|Constructor and Description|
Constructs the UrlSigner with the required parameters.
|Modifier and Type||Method and Description|
Overrides the implementation in DefaultUrlProvider to do everything that class does, but also to rename objects based on the transaction ID.
signDelete, signGet, signGetAcl, signHead, signPut, signPutAcl
public RenameToUuidUrlSigner(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
The required parameters that must be available in the servlet configuration are:
protected void updateObject(SignatureRequest signatureRequest, java.util.Properties messageProperties) throws S3ServiceException
Each object is renamed to the following format:
Objects that arrive with the metadata property
GatekeeperMessage.SUMMARY_DOCUMENT_METADATA_FLAG as treated as special cases, as this
flag indicates that the object is an XML summary document provided by the JetS3t
Uploader application. In this case, the object should not
be renamed as it is already named according to the last transaction ID.