camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brendan Long (JIRA)" <>
Subject [jira] [Created] (CAMEL-4344) S3Endpoint requires ListAllMyBuckets permission
Date Wed, 17 Aug 2011 16:42:27 GMT
S3Endpoint requires ListAllMyBuckets permission

                 Key: CAMEL-4344
             Project: Camel
          Issue Type: Bug
          Components: camel-aws
    Affects Versions: 2.8.0
            Reporter: Brendan Long
            Priority: Minor

In S3Endpoint.start(), we determine if a user has permission to access a bucket by sending
a ListAllMyBuckets request, and then checking if the bucket is in the response. Instead, we
could just query the bucket directly, like in S3Client.doesBucketExist().

We can't just call doesBucketExist() because it returns true if someone else owns the bucket.

Since we never call listBuckets() again, this would remove one required permission.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message