Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D9BADFF1 for ; Wed, 4 Jul 2012 19:07:35 +0000 (UTC) Received: (qmail 80090 invoked by uid 500); 4 Jul 2012 19:07:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80044 invoked by uid 500); 4 Jul 2012 19:07:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 80000 invoked by uid 99); 4 Jul 2012 19:07:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 19:07:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 11C9A142853 for ; Wed, 4 Jul 2012 19:07:35 +0000 (UTC) Date: Wed, 4 Jul 2012 19:07:35 +0000 (UTC) From: "Matteo Bertozzi (JIRA)" To: issues@hbase.apache.org Message-ID: <1319544975.3974.1341428855074.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1383544286.32412.1321390253547.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-4791) Allow Secure Zookeeper JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-4791: ----------------------------------- Attachment: (was: HBASE-4791-v0.patch) > Allow Secure Zookeeper JAAS configuration to be programmatically set (rather than only by reading JAAS configuration file) > -------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-4791 > URL: https://issues.apache.org/jira/browse/HBASE-4791 > Project: HBase > Issue Type: Improvement > Components: security, zookeeper > Reporter: Eugene Koontz > Assignee: Eugene Koontz > Labels: security, zookeeper > Attachments: DemoConfig.java > > > In the currently proposed fix for HBASE-2418, there must be a JAAS file specified in System.setProperty("java.security.auth.login.config"). > However, it might be preferable to construct a JAAS configuration programmatically, as is done with secure Hadoop (see https://github.com/apache/hadoop-common/blob/a48eceb62c9b5c1a5d71ee2945d9eea2ed62527b/src/java/org/apache/hadoop/security/UserGroupInformation.java#L175). > This would have the benefit of avoiding a usage of a system property setting, and allow instead an HBase-local configuration setting. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira