| Package | Description |
|---|---|
| org.jets3t.apps.cockpitlite |
Provides CockpitLite, a graphical Java application for viewing and managing the contents
of an Amazon S3 account, where the S3 account is not owned by the application's user
directly but is made available via the Gatekeeper servlet.
|
| 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 SignatureRequest[] |
CockpitLite.requestSignedRequests(java.lang.String operationType,
S3Object[] objects) |
| Modifier and Type | Field and Description |
|---|---|
SignatureRequest |
XmlGenerator.ObjectAndSignatureRequestDetails.signatureRequest |
| Modifier and Type | Method and Description |
|---|---|
void |
XmlGenerator.addSignatureRequest(java.lang.String key,
java.lang.String bucketName,
java.util.Map metadata,
SignatureRequest signatureRequest)
Add a signature request item to the XML document to store the request, and details about
the object the request was related to.
|
private SignedUrlAndObject[] |
Uploader.prepareSignedObjects(S3Object[] objects,
SignatureRequest[] signatureRequests,
XmlGenerator xmlGenerator) |
| Constructor and Description |
|---|
ObjectAndSignatureRequestDetails(java.lang.String key,
java.lang.String bucketName,
java.util.Map metadata,
SignatureRequest signatureRequest) |
| Modifier and Type | Method and Description |
|---|---|
SignatureRequest[] |
GatekeeperMessage.getSignatureRequests()
Returns the signature requests in a message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GatekeeperMessage.addSignatureRequest(SignatureRequest signatureRequest)
Adds a Signature Request to the message, indicating a request that a particular
operation be allowed on a particular object.
|
void |
GatekeeperMessage.addSignatureRequests(SignatureRequest[] signatureRequests)
Adds multiple signature requests to the message.
|
| Modifier and Type | Method and Description |
|---|---|
S3Object[] |
GatekeeperClientUtils.buildS3ObjectsFromSignatureRequests(SignatureRequest[] srs)
Parse the data in a set of SignatureRequest objects and build the corresponding
S3Objects represented by that data.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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.allowSignatureRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Returns true in all cases.
|
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) |
protected void |
DefaultUrlSigner.updateObject(SignatureRequest signatureRequest,
java.util.Properties messageProperties)
Adds a metadata item containing the transaction ID to each object.
|
protected void |
RenameToUuidUrlSigner.updateObject(SignatureRequest signatureRequest,
java.util.Properties messageProperties)
Overrides the implementation in DefaultUrlProvider to do everything that class does, but
also to rename objects based on the transaction ID.
|