| Package | Description |
|---|---|
| org.jets3t.apps.uploader |
Provides the Uploader application, a simple wizard-based application that S3 account holders
(Service Providers) may provide to clients to allow them to upload files to S3 without requiring
access to the Service Provider's S3 credentials.
|
| org.jets3t.service.utils.gatekeeper |
Provides the Gatekeeper messaging components, used to represent messages compatible with the
Gatekeeper message format.
|
| org.jets3t.service.utils.signedurl |
Utility classes used when generated or applying signed URLs.
|
| org.jets3t.servlets.gatekeeper |
Provides the Gatekeeper servlet application, a server-side authorization
service that acts as a Gatekeeper server for S3 operations.
|
| org.jets3t.servlets.gatekeeper.impl |
Implementations of interfaces used by the Gatekeeper servlet to do its work - these implementation
classes can be used as-is, but it is more likely they will be used as a starting-point for
Service Providers who will extend them to perform exactly as needed in their authorization
scenarios.
|
| Modifier and Type | Method and Description |
|---|---|
private GatekeeperMessage |
Uploader.buildGatekeeperResponse(S3Object[] objects)
Builds a Gatekeeper response based on AWS credential information available in the Uploader
properties.
|
private GatekeeperMessage |
Uploader.contactGatewayServer(S3Object[] objects)
Retrieves a signed PUT URL from the given URL address.
|
private GatekeeperMessage |
Uploader.retrieveGatekeeperResponse(S3Object[] objects) |
| Modifier and Type | Method and Description |
|---|---|
static GatekeeperMessage |
GatekeeperMessage.decodeFromProperties(java.util.Map postProperties)
Decodes (parses) a Gatekeeper message from the given properties.
|
| Modifier and Type | Method and Description |
|---|---|
GatekeeperMessage |
GatekeeperClientUtils.requestActionThroughGatekeeper(java.lang.String operationType,
java.lang.String bucketName,
S3Object[] objects,
java.util.Map applicationPropertiesMap)
Request permission from the Gatekeeper for a particular operation.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
Authorizer.allowBucketListingRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Authorizes a bucket listing operation for a client as represented by a the gatekeeper
request message.
|
abstract boolean |
Authorizer.allowSignatureRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Authorizes an operation represented by a signature request by returning true, or
disallows the operation by returned false (and optionally setting a decline reason
in the signature request).
|
abstract java.lang.String |
TransactionIdProvider.getTransactionId(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns a transaction ID to uniquely identify the Gatekeeper transaction - if transaction
tracking is not required this method can return an empty string.
|
abstract void |
BucketLister.listObjects(GatekeeperMessage gatekeeperMessage,
ClientInformation clientInformation)
Create in the GatekeeperMessage object a list of SignatureRequest objects capturing
details about the S3 objects contained in a bucket.
|
abstract java.lang.String |
UrlSigner.signDelete(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed DELETE URL for the signature request.
|
abstract java.lang.String |
UrlSigner.signGet(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed GET URL for the signature request.
|
abstract java.lang.String |
UrlSigner.signGetAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed GET URL for an ACL-based signature request.
|
abstract java.lang.String |
UrlSigner.signHead(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed HEAD URL for the signature request.
|
abstract java.lang.String |
UrlSigner.signPut(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed PUT URL for the signature request.
|
abstract java.lang.String |
UrlSigner.signPutAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed PUT URL for an ACL-based signature request.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultAuthorizer.allowBucketListingRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns true in all cases.
|
boolean |
DefaultAuthorizer.allowSignatureRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Returns true in all cases.
|
java.lang.String |
ExternalUuidProvider.getTransactionId(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
If the application property externalUUID is available, the value of this property
is returned as the transaction ID.
|
java.lang.String |
DefaultTransactionIdProvider.getTransactionId(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns a random-based UUID.
|
void |
DefaultBucketLister.listObjects(GatekeeperMessage gatekeeperMessage,
ClientInformation clientInformation) |
java.lang.String |
DefaultUrlSigner.signDelete(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
java.lang.String |
DefaultUrlSigner.signGet(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
java.lang.String |
DefaultUrlSigner.signGetAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
java.lang.String |
DefaultUrlSigner.signHead(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
java.lang.String |
DefaultUrlSigner.signPut(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
java.lang.String |
DefaultUrlSigner.signPutAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |