Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 359229520 for ; Tue, 28 May 2013 10:27:39 +0000 (UTC) Received: (qmail 26121 invoked by uid 500); 28 May 2013 10:27:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25791 invoked by uid 500); 28 May 2013 10:27:37 -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 25724 invoked by uid 99); 28 May 2013 10:27:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 10:27:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of codecraig@gmail.com designates 209.85.214.181 as permitted sender) Received: from [209.85.214.181] (HELO mail-ob0-f181.google.com) (209.85.214.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 10:27:29 +0000 Received: by mail-ob0-f181.google.com with SMTP id dn14so8785448obc.26 for ; Tue, 28 May 2013 03:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EPxGi97c+2Jq5ZH2B/I1aDg7lz0eZQMC9meuBNoblqk=; b=KHzoYnM3pw8zBcI4rrmJ0T1RLwD02xJiDmrlEoyOUQLQkw3vVkX76oOnhvhkF25si/ fnkHSECzpqdBellnUoDfMjyRuM+6X+2tP+x9fV9R7nGep8EV9wZZu2sS2eOlBXHWiriE iJyJZfx+EauXZZ6wQ+eCDxCRIyoiy7eicoE9OewzByzgvlIlOU8j7AlkmJRUzBg6NR/T Fqm/0ZIbHYSi0kIq09YcISXghA3Y3hNJ1G3Y+TOhsjs66X+jBzdQzrVP+0d0yQViy6vz GHRi3rYYl4V9QpP0t7jZRXdBUzFIzfFAJjeYupAAkPUftsOKfdtfCwUobXO48vZAVPha RJRQ== MIME-Version: 1.0 X-Received: by 10.60.16.69 with SMTP id e5mr7974180oed.46.1369736827520; Tue, 28 May 2013 03:27:07 -0700 (PDT) Received: by 10.76.143.234 with HTTP; Tue, 28 May 2013 03:27:07 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 May 2013 06:27:07 -0400 Message-ID: Subject: Re: Custom Login Module -- how to make Apollo use it? From: craig w To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=089e0149c6740a66de04ddc4b5dc X-Virus-Checked: Checked by ClamAV on apache.org --089e0149c6740a66de04ddc4b5dc Content-Type: text/plain; charset=ISO-8859-1 Nevermind, my JAR didn't include the class files. Putting the JAR into $APOLLO_HOME/lib works just fine. On Tue, May 28, 2013 at 5:36 AM, craig w wrote: > I'm working on creating a custom login module for Apollo and I'm wondering > how to actually use it. > > So far I've created a JAR that contains a class, we'll say, MyLoginModule > which extends the CertificateLoginModule provided by Apollo. Currently, I'm > overriding the "login" method to just do some System.out.println ...to try > and verify it's being loaded and used (sort of a canary test). > > I've configured the etc/login.config file in my broker instance to have: > > com.acme.MyLoginModule optional > ; > > Instead of > > org.apache.activemq.apollo.broker.security.CertificateLoginModule optional > ; > > However, when I startup Apollo and publish a message I don't see my > messages being printed out. I've put my JAR file into $APOLLO_HOME/lib. > > Is there something else I should do? > > Thanks in advance, > Craig > --089e0149c6740a66de04ddc4b5dc--