Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 11869 invoked from network); 10 Mar 2008 10:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2008 10:12:51 -0000 Received: (qmail 15238 invoked by uid 500); 10 Mar 2008 10:12:48 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 15065 invoked by uid 500); 10 Mar 2008 10:12:47 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 15056 invoked by uid 99); 10 Mar 2008 10:12:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 03:12:47 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 10 Mar 2008 10:12:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JYezU-0002Qi-Py for dev@activemq.apache.org; Mon, 10 Mar 2008 03:12:20 -0700 Message-ID: <15950662.post@talk.nabble.com> Date: Mon, 10 Mar 2008 03:12:20 -0700 (PDT) From: Natit To: dev@activemq.apache.org Subject: Diffiuclty creating my own plugin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: petter@zirius.no X-Virus-Checked: Checked by ClamAV on apache.org Hi i'd like to create a simple plugin that handles all user authentication in a simple way. something with a similar signature to: boolean canRead(ConnectionInfo,ActiveMQDestination); boolean canWrite(ConnectionInfo,ActiveMQDestination); boolean isAdmin(ConnectionInfo,ActiveMQDestination); And for user authorization something like boolean canLogin(ConnectionContext,ConnectionInfo) I do not really want to use JAAS, and i need to be able to add users and modifiy the authorization levels on the fly during runtime so using the simpleAuthplugin with XML files is not a solution. I tried looking at them, but couldn't really find a way to modify them to do what i need. I have attached a simple diagram to attempt to show what i need to do. Am i missing something, solving my problem should be fairly simple no? http://www.nabble.com/file/p15950662/mq.png -- View this message in context: http://www.nabble.com/Diffiuclty-creating-my-own-plugin-tp15950662s2354p15950662.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.