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 A944E200D27 for ; Wed, 25 Oct 2017 14:53:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A759E160BDA; Wed, 25 Oct 2017 12:53:52 +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 ECD881609E5 for ; Wed, 25 Oct 2017 14:53:51 +0200 (CEST) Received: (qmail 28910 invoked by uid 500); 25 Oct 2017 12:53:50 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 28900 invoked by uid 99); 25 Oct 2017 12:53:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 12:53:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6255218071F for ; Wed, 25 Oct 2017 12:53:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.4 X-Spam-Level: X-Spam-Status: No, score=-2.4 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mxWf2wJZkBnT for ; Wed, 25 Oct 2017 12:53:47 +0000 (UTC) Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6403C5F5B4 for ; Wed, 25 Oct 2017 12:53:46 +0000 (UTC) Received: by mail-pf0-f174.google.com with SMTP id e64so22150488pfk.9 for ; Wed, 25 Oct 2017 05:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :references:in-reply-to:to; bh=dGLjvAh9WQD2MoqkajmnYuCv+KvPPgVBmrQNq9gK3UY=; b=BPS+e59UdIC4Z4lRyL3OwNLC0MPRiv6JOHCOPi5VtfUzexmhIhONGDZNpZtcjJrmAd /n+HZvvEl6eCNQLojOG1Dnw4ZqXBWInUHdJ7fyKLrqoYwCmF1u2BL02Zzx9B4NWWw1J/ zF4AMHS8h7S64QPNqidOJVOF8u76bgrlvtcdrZVXRsXg5ByceJjW1o8fk7S4BAW77hgk zm+hISG5whfwLeM8pp4H3umFG8/FHjnR9vCPUfyUWDOH1rIEtww7PmU3kSI/ISuBdwnO ydjgDDmtAU6/qpeIHQkmqNQpoqw6KnfrFZeMM1OJfYguRrpWAR1wp/RGJ/C5rrZJqBH2 frug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:references:in-reply-to:to; bh=dGLjvAh9WQD2MoqkajmnYuCv+KvPPgVBmrQNq9gK3UY=; b=Z2XUPMPoIeINcnp7jlR4GwouTXvPkGtu5zo2SR/cQpJY0gA6W8189/m/cxyU+T7AwR ivXo3peaGULIsjCvptlSZbFrin9jXwpoziMW34z6ID0wRSfb8G6WCisAW8IwXAJFRiBc s30QKZW30YNdcs11HmIka6w6nru/Ew7HJh4XFuXlXpOeEl8ZNK3Q0TXwrU7iSkLWfcTX uXSg3/CeCzEjfenqgp2n7EWJLVBlkk1wPxHqPw/9fUYYr3pWgxUqMVAzRsYNoF+H7uKz I2TLZWFZNzDvaW2XdBB2q3spBZ2bMU+WqHwmOjws6n7Zf7H1DbFmDDrmIH5h2Ri/cRR/ cYsQ== X-Gm-Message-State: AMCzsaV7D3o0axmaCfCx2C+5aZV8uE47ZO8jiiHU/tbgLdwyEZdvHIYl r0g6IYVKVtB3R2oOwlMlV198CSV6 X-Google-Smtp-Source: ABhQp+Twd7PialbGQUMN3SLtZ+XlcH0JXR23xOuFrDZF+VKS4uaaL1O4mM8ty/+0VSvhl1x4auAXWQ== X-Received: by 10.101.65.11 with SMTP id w11mr1961021pgp.207.1508936024675; Wed, 25 Oct 2017 05:53:44 -0700 (PDT) Received: from [10.9.232.190] (mobile-166-176-184-78.mycingular.net. [166.176.184.78]) by smtp.gmail.com with ESMTPSA id j1sm5994458pfj.108.2017.10.25.05.53.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Oct 2017 05:53:41 -0700 (PDT) From: Jeff Jirsa Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 25 Oct 2017 05:53:39 -0700 Subject: Re: server connection in authenticator Message-Id: <8ADA6F0C-CE5B-4991-8CC7-9FB9B6F8E4D1@gmail.com> References: <1508927854.13386.10.camel@ericsson.com> In-Reply-To: <1508927854.13386.10.camel@ericsson.com> To: user@cassandra.apache.org X-Mailer: iPhone Mail (15A432) archived-at: Wed, 25 Oct 2017 12:53:52 -0000 This might be better on the dev list, but the Authenticator and Authorizer i= nterfaces should let you drop a jar in the classpath and turn them on in the= yaml - you shouldn=E2=80=99t NEED to change much code, but that doesn=E2=80= =99t mean the the interfaces have considered your use case. If the interfaces are insufficient for your needs, or you=E2=80=99re bumping= up against visibility / access problems, we may be able to change things in= the next major to facilitate the changes you need. --=20 Jeff Jirsa > On Oct 25, 2017, at 3:37 AM, Horia Mocioi wrot= e: >=20 > Hello guys, >=20 > We are building up an authenticator using certificates. So far we came > up with a solution, but implies changing some files in Cassandra code > base in order to have the connection in the new Authenticator. >=20 > So, here are my questions: > * how are you guys doing this? > * is it possible to obtain the connection on the Authenticator without > changing other files in the Cassandra code base, in that sense just > creating a new Authenticator and set it up in cassandra.yaml? >=20 > Regards, > Horia=C3=90=C2=A2=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3= =92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3= =92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3= =92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3= =92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3= =92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=92=C3=90=C3=90=C2=A5F=C3=B2=07V=C3=A77V= '67&=E2=80=93&R=C3=82=06R=C3=96=C3=96=16=E2=80=93=C3=83=C2=A2=07W6W"=C3=97V=C3= =A77V'67&=E2=80=93&T=066=1776=16=C3=A6G&=12=C3=A6=17=06=166=E2=80=A0R=C3=A6=C3= =B7&p=C3=90=C2=A4f=C3=B7"=06=16FF=E2=80=94F=E2=80=93=C3=B6=C3=A6=16=C3=82=06= 6=C3=B6=C3=96=C3=96=16=C3=A6G2=C3=82=06R=C3=96=C3=96=16=E2=80=93=C3=83=C2=A2= =07W6W"=C3=96=E2=80=A0V=C3=87=04=066=1776=16=C3=A6G&=12=C3=A6=17=06=166=E2=80= =A0R=C3=A6=C3=B7&p=C3=90 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@cassandra.apache.org For additional commands, e-mail: user-help@cassandra.apache.org