HADOOP-11254. Changed visibility of AccessControlList to be public for consumption by ecosystem. Contributed by Zhijie Shen.
(cherry picked from commit b18e8a272e
)
This commit is contained in:
parent
c4aaa4db6c
commit
0cbc115704
|
@ -271,6 +271,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
|
|
||||||
HADOOP-11216. Improve Openssl library finding. (cmccabe via yliu)
|
HADOOP-11216. Improve Openssl library finding. (cmccabe via yliu)
|
||||||
|
|
||||||
|
HADOOP-11254. Changed visibility of AccessControlList to be public for
|
||||||
|
consumption by ecosystem. (Zhijie Shen via vinodkv)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-10838. Byte array native checksumming. (James Thomas via todd)
|
HADOOP-10838. Byte array native checksumming. (James Thomas via todd)
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.apache.hadoop.util.StringUtils;
|
||||||
/**
|
/**
|
||||||
* Class representing a configured access control list.
|
* Class representing a configured access control list.
|
||||||
*/
|
*/
|
||||||
@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Evolving
|
@InterfaceStability.Evolving
|
||||||
public class AccessControlList implements Writable {
|
public class AccessControlList implements Writable {
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ public class AccessControlList implements Writable {
|
||||||
* Get the names of users allowed for this service.
|
* Get the names of users allowed for this service.
|
||||||
* @return the set of user names. the set must not be modified.
|
* @return the set of user names. the set must not be modified.
|
||||||
*/
|
*/
|
||||||
Collection<String> getUsers() {
|
public Collection<String> getUsers() {
|
||||||
return users;
|
return users;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ public class AccessControlList implements Writable {
|
||||||
* Get the names of user groups allowed for this service.
|
* Get the names of user groups allowed for this service.
|
||||||
* @return the set of group names. the set must not be modified.
|
* @return the set of group names. the set must not be modified.
|
||||||
*/
|
*/
|
||||||
Collection<String> getGroups() {
|
public Collection<String> getGroups() {
|
||||||
return groups;
|
return groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue