Package | Description |
---|---|
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 |
---|---|
static GatekeeperMessage |
GatekeeperMessage.decodeFromProperties(Map postProperties)
Decodes (parses) a Gatekeeper message from the given properties.
|
Modifier and Type | Method and Description |
---|---|
GatekeeperMessage |
GatekeeperClientUtils.requestActionThroughGatekeeper(String operationType,
String bucketName,
S3Object[] objects,
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 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 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.allowBucketListingRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns true in all cases.
|
boolean |
DefaultAuthorizer.allowSignatureRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Returns true in all cases.
|
String |
DefaultTransactionIdProvider.getTransactionId(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns a random-based UUID.
|
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.
|
void |
DefaultBucketLister.listObjects(GatekeeperMessage gatekeeperMessage,
ClientInformation clientInformation) |
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) |
Copyright © 2006–2018. All rights reserved.