Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8B2B180AB for ; Mon, 8 Jun 2015 10:47:19 +0000 (UTC) Received: (qmail 96975 invoked by uid 500); 8 Jun 2015 10:47:19 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 96883 invoked by uid 500); 8 Jun 2015 10:47:19 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 96872 invoked by uid 500); 8 Jun 2015 10:47:18 -0000 Delivered-To: apmail-hadoop-hbase-dev@hadoop.apache.org Received: (qmail 96869 invoked by uid 99); 8 Jun 2015 10:47:18 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2015 10:47:18 +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 4D4F6181A3C for ; Mon, 8 Jun 2015 10:47:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.286 X-Spam-Level: ** X-Spam-Status: No, score=2.286 tagged_above=-999 required=6.31 tests=[SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JrfBgdHZDWmU for ; Mon, 8 Jun 2015 10:47:06 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id 833E02761D for ; Mon, 8 Jun 2015 10:47:06 +0000 (UTC) Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 2B9002058313 for ; Mon, 8 Jun 2015 03:48:15 -0700 (PDT) Date: Mon, 8 Jun 2015 03:47:06 -0700 (MST) From: okoza To: hbase-dev@hadoop.apache.org Message-ID: <1433760426013-4072188.post@n3.nabble.com> In-Reply-To: <5574A650.3070602@hiro-tan.org> References: <1433423398294-4072116.post@n3.nabble.com> <5574A650.3070602@hiro-tan.org> Subject: Re: Brief Explanation of HBase Connection/Security ansd help with java connection to remote Hbase MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks for the reply! I am now trying to create a jaas.conf in my HBase client, but I'm not sure which module to use, because the examples i found are usually for Kerberos and we don't have that set up. On server side login is validated against LDAP, so basically I just want to pass username + password to the server and have it telling me wether I am granted access or not. I found this example: http://wso2.com/library/tutorials/2014/05/enabling-sasl-authentication-between-wso2-message-broker-and-zookeeper-cluster/ which is close to what I need in my opinion, but I have to declare users and passwords on the server configuration, which is wrong I think, beacuse I want LDAP to do the validation. Here are the modules provided by Java, can I use one of those? https://docs.oracle.com/javase/7/docs/jre/api/security/jaas/spec/com/sun/security/auth/module/package-summary.html Regards Ole -- View this message in context: http://apache-hbase.679495.n3.nabble.com/Brief-Explanation-of-HBase-Connection-Security-ansd-help-with-java-connection-to-remote-Hbase-tp4072116p4072188.html Sent from the HBase Developer mailing list archive at Nabble.com.