Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 147982009F3 for ; Fri, 20 May 2016 20:53:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 115A1160A24; Fri, 20 May 2016 18:53:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 585F71609AE for ; Fri, 20 May 2016 20:53:54 +0200 (CEST) Received: (qmail 66145 invoked by uid 500); 20 May 2016 18:53:53 -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 66133 invoked by uid 99); 20 May 2016 18:53:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 18:53:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C53F3C0D82 for ; Fri, 20 May 2016 18:53:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.233 X-Spam-Level: ** X-Spam-Status: No, score=2.233 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.919, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id rZC_QJXJ3inm for ; Fri, 20 May 2016 18:53:50 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 6EFD55F1B8 for ; Fri, 20 May 2016 18:53:50 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id E0A2A2B20C70A for ; Fri, 20 May 2016 11:53:50 -0700 (PDT) Date: Fri, 20 May 2016 11:17:31 -0700 (PDT) From: ctalluri To: users@activemq.apache.org Message-ID: <1463768251564-4712231.post@n4.nabble.com> Subject: How to inject properties in to login.config for LDAPLoginModule MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 20 May 2016 18:53:55 -0000 I want to have the values in login.config file something like this LdapConfiguration { org.apache.activemq.jaas.LDAPLoginModule required debug=true initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory connectionURL="${connectionURL}" connectionProtocol="" connectionUsername="${connectionUser}" connectionPassword="${connectionPwd}" authentication="${auth} }; We can pass using -d option in Java. but we wanted this to be in a propertyfile so that we can have encryption for Password -Thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-inject-properties-in-to-login-config-for-LDAPLoginModule-tp4712231.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.