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 |
---|---|
void |
XmlGenerator.addSignatureRequest(String key,
String bucketName,
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.
|
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 String |
UrlSigner.signDelete(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed DELETE URL for the signature request.
|
abstract String |
UrlSigner.signGet(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed GET URL for the signature request.
|
abstract String |
UrlSigner.signGetAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed GET URL for an ACL-based signature request.
|
abstract String |
UrlSigner.signHead(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed HEAD URL for the signature request.
|
abstract String |
UrlSigner.signPut(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Generate a signed PUT URL for the signature request.
|
abstract 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.
|
String |
DefaultUrlSigner.signDelete(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signGet(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signGetAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signHead(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signPut(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
String |
DefaultUrlSigner.signPutAcl(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest) |
protected void |
RenameToUuidUrlSigner.updateObject(SignatureRequest signatureRequest,
Properties messageProperties)
Overrides the implementation in DefaultUrlProvider to do everything that class does, but
also to rename objects based on the transaction ID.
|
protected void |
DefaultUrlSigner.updateObject(SignatureRequest signatureRequest,
Properties messageProperties)
Adds a metadata item containing the transaction ID to each object.
|
Copyright © 2006–2018. All rights reserved.