[ https://issues.apache.org/jira/browse/HADOOP-8121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231581#comment-13231581 ]
Jonathan Natkins commented on HADOOP-8121: ------------------------------------------ The javac warning is related is caused by this line: env.put(Context.INITIAL_CONTEXT_FACTORY, com.sun.jndi.ldap.LdapCtxFactory.class.getName()); The problem is that the LdapCtxFactory is a deprecated API, but according to all documentation (including Oracle's) and examples that I've looked at, it's the correct way to initialize the context. We could avoid the warning by hard-coding the string, but I strongly prefer calling getName() to get the actual class name. > 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-common.patch, HADOOP-8121-common.patch, > HADOOP-8121-hdfs.patch, HADOOP-8121.patch, HADOOP-8121.patch, > HADOOP-8121.patch, HADOOP-8121.patch, HADOOP-8121.patch, HADOOP-8121.patch, > HADOOP-8121.patch, HADOOP-8121.patch, HADOOP-8121.patch, HADOOP-8121.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