Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 81269 invoked from network); 13 Apr 2010 16:10:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 16:10:18 -0000 Received: (qmail 18379 invoked by uid 500); 13 Apr 2010 16:10:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 18332 invoked by uid 500); 13 Apr 2010 16:10:18 -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 18324 invoked by uid 99); 13 Apr 2010 16:10:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 16:10:17 +0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL 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; Tue, 13 Apr 2010 16:10:13 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O1igS-0005WI-Ua for dev@activemq.apache.org; Tue, 13 Apr 2010 09:09:52 -0700 Message-ID: <28232452.post@talk.nabble.com> Date: Tue, 13 Apr 2010 09:09:52 -0700 (PDT) From: Nanawel To: dev@activemq.apache.org Subject: Re: [ActiveMQ 5.3.1] How to develop an authentication system and export it as a plugin? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: anael.ollier@gmail.com References: Hi Gary, thanks for your help but I already took a look at this class. Actually I think I did not express correctly what I want. Correct me if I'm wrong but the SimpleAuthenticationPlugin is good for me because I don't nee= d to change anything on this side (users and groups). What I need to change i= s the login process, and so the LoginModule. I know the implementation I'll have to write, this is not the problem. My major problem is to understand how to build it and make it a package I can just "paste" into an existing ActiveMQ installation. Sorry if I'm not really clear. Regards Gary Tully wrote: >=20 > start by reading and > understanding org.apache.activemq.security.SimpleAuthenticationPlugin >=20 > On 13 April 2010 10:05, Ana=C3=ABl Ollier wrote: >=20 >> Hi all, >> >> I need to implement a special authentication plugin for ActiveMQ 5.3.1 >> and >> I >> don't know exactly how to do it. >> I have a little experience in Java/JEE but not with Maven. I managed to >> import the 5.3.1 release in my Eclipse (Ganymede) and I can compile it >> without any error, and also export it to recreate the install package >> from >> the source. So far so good. >> >> But how can I create a plugin to add my special authentication system? >> And >> how can I change the authentication plugin used by an installed ActiveMQ >> from the configuration? >> >> I read a lot of the documentation but it seems some parts are "missing", >> or >> I understand they are "useless" because "every developer knows that"... >> but >> me. >> >> Some help would be very appreciated. >> Thanks in advance! >> >> Regards >> >> -- >> Ana=C3=ABl Ollier >> anael.ollier@eyeos.org >> The eyeOS Project | www.eyeos.org | Web Desktop & Cloud Computing >> >=20 >=20 >=20 > --=20 > http://blog.garytully.com >=20 > Open Source Integration > http://fusesource.com >=20 >=20 --=20 View this message in context: http://old.nabble.com/-ActiveMQ-5.3.1--How-to= -develop-an-authentication-system-and-export--it-as-a-plugin--tp28227506p28= 232452.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.