Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1147B18352 for ; Wed, 16 Dec 2015 19:29:13 +0000 (UTC) Received: (qmail 32165 invoked by uid 500); 16 Dec 2015 19:29:13 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 32089 invoked by uid 500); 16 Dec 2015 19:29:12 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 32079 invoked by uid 99); 16 Dec 2015 19:29:12 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 19:29:12 +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 2527DC07DB for ; Wed, 16 Dec 2015 19:29:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.425 X-Spam-Level: ** X-Spam-Status: No, score=2.425 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id O_NIO0jFGBBi for ; Wed, 16 Dec 2015 19:29:11 +0000 (UTC) Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 2CEE520463 for ; Wed, 16 Dec 2015 19:29:11 +0000 (UTC) Received: from smtp-pop.rim.net (HELO XCT103CNC.rim.net) ([10.65.161.203]) by mhs214cnc.rim.net with ESMTP/TLS/AES256-SHA; 16 Dec 2015 14:47:24 -0500 Received: from XCT116CNC.rim.net (10.65.161.216) by XCT103CNC.rim.net (10.65.161.203) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 16 Dec 2015 14:29:03 -0500 Received: from XMB111CNC.rim.net ([fe80::fcd6:cc6c:9e0b:25bc]) by XCT116CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Wed, 16 Dec 2015 14:29:03 -0500 From: Dave Ariens To: "user@curator.apache.org" Subject: multiple curator frameworks mixed authentication modes Thread-Topic: multiple curator frameworks mixed authentication modes Thread-Index: AdE4N2MkTQCIp3IHRDmkZB4PjrLN+A== Date: Wed, 16 Dec 2015 19:29:02 +0000 Message-ID: Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.65.160.249] Content-Type: multipart/alternative; boundary="_000_A977DFF519EFC74CADFB150955C16E6F309BBF35XMB111CNCrimnet_" MIME-Version: 1.0 --_000_A977DFF519EFC74CADFB150955C16E6F309BBF35XMB111CNCrimnet_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable My Java application needs to talk to two ZK clusters. Cluster one is configured with `authProvider.1=3Dorg.apache.zookeeper.serve= r.auth.SASLAuthenticationProvider SASLAuthenticationProvider` and cluster t= wo is not. At first glance it would appear that this isn't possible as all curator fra= meworks instantiated in my JVM are attempting to perform SASL authenticatio= n when the JVM is launched with the JAAS configuration containing 'Client' = configuration. Any chance I'm missing something or is this a known restriction? --_000_A977DFF519EFC74CADFB150955C16E6F309BBF35XMB111CNCrimnet_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
My Java application needs to talk to two ZK clusters.

Cluster one is configured with `authProvider.1=3Dorg.apache.zookeeper.serve= r.auth.SASLAuthenticationProvider SASLAuthenticationProvider` and cluster t= wo is not.

At first glance it would appear that this isn't possible as all curator fra= meworks instantiated in my JVM are attempting to perform SASL authenticatio= n when the JVM is launched with the JAAS configuration containing 'Client' = configuration.

Any chance I'm missing something or is this a known restriction?




--_000_A977DFF519EFC74CADFB150955C16E6F309BBF35XMB111CNCrimnet_--