Class DefaultUrlSigner

Default UrlSigner implementation that signs all requests, putting all objects in a specific S3
bucket and limiting the signature time to a configurable time period.

This implementation also demonstrates how objects may be modified, as it adds a metadata
item to each signed object to store the transaction ID in which the object was signed. The
transaction id is stored in the metadata name x-amx-gatekeeper-transaction-id

Constructor Detail

DefaultUrlSigner

The required parameters that must be available in the servlet configuration are:

AwsAccessKey: The AWS Access Key for an S3 account

AwsSecretKey: The AWS Secret Key for an S3 account

S3BucketName: The bucket all objects are stored in (regardless of what bucket
name the client provided).

SecondsToSign: How many seconds until the signed URLs will expireNote: this setting must allow enough time for the operation to complete
before the expiry time is reached. For example, if uploads are expected over slow
connections the expiry time must be long enough for the uploads to finish otherwise the
uploaded file will be rejected after it has finished uploading.