hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Natkins (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8121) Active Directory Group Mapping Service
Date Mon, 05 Mar 2012 21:27:57 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222618#comment-13222618

Jonathan Natkins commented on HADOOP-8121:

I agree that the warning is mostly unavoidable, and I don't think there's any particularly
good way of dealing with it. It looks like Oracle is working on updating some of the APIs
(http://docs.oracle.com/javase/6/docs/technotes/guides/jndi/index.html contains some of the
updates), but there doesn't seem to be any new way to get the InitialContextFactory. The interwebs
generally lead you to something like this:

env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");

In fact, this line of code shows up in Oracle's docs (section 15.1 http://docs.oracle.com/javase/6/docs/technotes/guides/jndi/jndi-ldap.html#pooling)

I think it makes more sense to do the right thing and call the getName() method than use a
hard-coded string, so if this is alright, I'll just add warning suppression.
> Active Directory Group Mapping Service
> --------------------------------------
>                 Key: HADOOP-8121
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8121
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: Jonathan Natkins
>            Assignee: Jonathan Natkins
>         Attachments: HADOOP-8121.2.patch, HADOOP-8121.3.patch, HADOOP-8121.4.patch, HADOOP-8121.5.patch,
HADOOP-8121.6.patch, HADOOP-8121.patch
> Planning on building a group mapping service that will go and talk directly to an Active
Directory setup to get group memberships

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


View raw message