Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 59231 invoked from network); 19 Jan 2010 17:30:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 17:30:18 -0000 Received: (qmail 3984 invoked by uid 500); 19 Jan 2010 17:30:18 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 3956 invoked by uid 500); 19 Jan 2010 17:30:18 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 3924 invoked by uid 99); 19 Jan 2010 17:30:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 17:30:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 17:30:06 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NXHth-0006lI-9o for users@activemq.apache.org; Tue, 19 Jan 2010 09:29:45 -0800 Message-ID: <27229440.post@talk.nabble.com> Date: Tue, 19 Jan 2010 09:29:45 -0800 (PST) From: mastaskillz33 To: users@activemq.apache.org Subject: Re: Active MQ ajax and security In-Reply-To: <36e91d9d1001190853y4e53700ck118103b6744c9f36@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ailardi@csc.com References: <27228521.post@talk.nabble.com> <36e91d9d1001190853y4e53700ck118103b6744c9f36@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thank you. A rest interface does make sense here. Since consuming applications would be deployed to a different locations. Could I write specific servlets in the jetty container for a REST interface? My other question is even if I deployed an application to the embedded jetty server and used the ajax interface someone could always just modify the queue name(firebug or whatever) and see anyone else's data. Is there any way to add security in that case? or am I stuck wrapping the queue interactions inside a REST service. One of which would then need to be a "long polling or alternative" to receive the live message off the queue. I also am curios as to the best way to authenticate to a rest service once a user is authenticated on a particular site for instance. Twitter uses basic auth for it's web services. If the twitter was to use those services on it's pages how would It basic auth the user. It would need to send the headers over the wire. Is there a better way? Dejan Bosanac wrote: > > Hi, > > AjaxServlet can't be exposed to the web in general. It must be a part of > the > application which is running the client js code to send/receive messages. > If > you need a general-purpose web interface, try using REST. As for security > you can secure it using basic-auth or any other method used on the web. > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > > > On Tue, Jan 19, 2010 at 5:28 PM, mastaskillz33 wrote: > >> >> I've developing an application on google's app engine. I would like to >> integrate it with active mq. I figure I could put my active mq server >> exposed to the web except I would need to authenticate users before >> allowing >> them to pub sub to the Q. How should I do this. I basically want them to >> log >> into the app engine site and not be prompted again >> -- >> View this message in context: >> http://old.nabble.com/Active-MQ-ajax-and-security-tp27228521p27228521.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > ----- > Dejan Bosanac > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ > Blog - http://www.nighttale.net > -- View this message in context: http://old.nabble.com/Active-MQ-ajax-and-security-tp27228521p27229440.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.