hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7820) Authenticating users from different realm without a trust relationship
Date Mon, 11 Feb 2013 21:45:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-7820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576151#comment-13576151
] 

Ted Yu commented on HBASE-7820:
-------------------------------

@Benoy:
Can you attach patch for trunk ?
Looks like you forgot to include HBaseMultiRealmUserAuthentication source code.
{code}
+      } else  if  (MultiRealmUserAuthentication.isAUserInADifferentRealm (
+          ticket.getUGI(), conf) ){
{code}
Please leave one space between keywords. You can use dev-support/hbase_eclipse_formatter.xml
if Eclipse is your IDE.
isAUserInADifferentRealm -> isUserInADifferentRealm (only one user is passed to this method)
{code}
+      }
+      else {
+    	  authMethod = AuthMethod.KERBEROS;
{code}
Move 'else' to the line above. Indentation should be two spaces.
{code}
+      if (LOG.isDebugEnabled())
+        LOG.debug("Kerberos principal name is " + fullName);
{code}
Include the log in curly braces.
                
> Authenticating users from different realm without a trust relationship
> ----------------------------------------------------------------------
>
>                 Key: HBASE-7820
>                 URL: https://issues.apache.org/jira/browse/HBASE-7820
>             Project: HBase
>          Issue Type: Improvement
>          Components: security
>            Reporter: Benoy Antony
>         Attachments: HBASE-7820-0.94.patch
>
>
> HBase servers are part of the Hadoop domain, controlled by Hadoop Active Directory. 
> The users belong to the CORP domain, controlled by the CORP Active Directory. 
> In the absence of a one way trust from HADOOP DOMAIN to CORP DOMAIN, how will HBase servers
authenticate CORP users ?
> This is the HBase equivalent of HADOOP-9296

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message