Browse Source

HADOOP-6943. The GroupMappingServiceProvider interface should be public. Contributed by Aaron T. Myers.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1031675 13f79535-47bb-0310-9956-ffa450edef68
Thomas White 14 years ago
parent
commit
cf65399043

+ 3 - 0
CHANGES.txt

@@ -160,6 +160,9 @@ Trunk (unreleased changes)
 
 
     HADOOP-6818. Provides a JNI implementation of group resolution. (ddas)
     HADOOP-6818. Provides a JNI implementation of group resolution. (ddas)
 
 
+    HADOOP-6943. The GroupMappingServiceProvider interface should be public.
+    (Aaron T. Myers via tomwhite)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).
     HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).

+ 2 - 2
src/java/org/apache/hadoop/security/GroupMappingServiceProvider.java

@@ -27,9 +27,9 @@ import org.apache.hadoop.classification.InterfaceStability;
  * An interface for the implementation of a user-to-groups mapping service
  * An interface for the implementation of a user-to-groups mapping service
  * used by {@link Groups}.
  * used by {@link Groups}.
  */
  */
-@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceAudience.Public
 @InterfaceStability.Evolving
 @InterfaceStability.Evolving
-interface GroupMappingServiceProvider {
+public interface GroupMappingServiceProvider {
   
   
   /**
   /**
    * Get all various group memberships of a given user.
    * Get all various group memberships of a given user.