Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C47AE8337 for ; Thu, 18 Aug 2011 20:41:50 +0000 (UTC) Received: (qmail 31487 invoked by uid 500); 18 Aug 2011 20:41:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 31278 invoked by uid 500); 18 Aug 2011 20:41:50 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 31256 invoked by uid 99); 18 Aug 2011 20:41:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2011 20:41:49 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2011 20:41:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4FDEEC34E0 for ; Thu, 18 Aug 2011 20:41:27 +0000 (UTC) Date: Thu, 18 Aug 2011 20:41:27 +0000 (UTC) From: =?utf-8?Q?Christian_M=C3=BCller_=28JIRA=29?= To: dev@camel.apache.org Message-ID: <415327552.50442.1313700087323.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2026040483.45771.1313599347235.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4344) S3Endpoint requires ListAllMyBuckets permission MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-4344?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian M=C3=BCller updated CAMEL-4344: ------------------------------------ Fix Version/s: 2.9.0 Issue Type: Improvement (was: Bug) > S3Endpoint requires ListAllMyBuckets permission > ----------------------------------------------- > > Key: CAMEL-4344 > URL: https://issues.apache.org/jira/browse/CAMEL-4344 > Project: Camel > Issue Type: Improvement > Components: camel-aws > Affects Versions: 2.8.0 > Reporter: Brendan Long > Assignee: Christian M=C3=BCller > Priority: Minor > Fix For: 2.9.0 > > Attachments: s3-endpoint-no-list-buckets.java.diff > > > In S3Endpoint.start(), we determine if a user has permission to access a = bucket by sending a ListAllMyBuckets request, and then checking if the buck= et is in the response. Instead, we could just query the bucket directly, li= ke in S3Client.doesBucketExist(). > We can't just call doesBucketExist() because it returns true if someone e= lse owns the bucket. > Since we never call listBuckets() again, this would remove one required p= ermission. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira