@InterfaceAudience.Public @InterfaceStability.Evolving public class VisibilityClient extends Object
| Constructor and Description |
|---|
VisibilityClient() |
| Modifier and Type | Method and Description |
|---|---|
static VisibilityLabelsProtos.VisibilityLabelsResponse |
addLabel(org.apache.hadoop.conf.Configuration conf,
String label)
Utility method for adding label to the system.
|
static VisibilityLabelsProtos.VisibilityLabelsResponse |
addLabels(org.apache.hadoop.conf.Configuration conf,
String[] labels)
Utility method for adding labels to the system.
|
static VisibilityLabelsProtos.VisibilityLabelsResponse |
clearAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
Removes given labels from user's globally authorized list of labels.
|
static VisibilityLabelsProtos.GetAuthsResponse |
getAuths(org.apache.hadoop.conf.Configuration conf,
String user) |
static VisibilityLabelsProtos.VisibilityLabelsResponse |
setAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
Sets given labels globally authorized for the user.
|
public static VisibilityLabelsProtos.VisibilityLabelsResponse addLabel(org.apache.hadoop.conf.Configuration conf, String label) throws Throwable
conf - label - Throwablepublic static VisibilityLabelsProtos.VisibilityLabelsResponse addLabels(org.apache.hadoop.conf.Configuration conf, String[] labels) throws Throwable
conf - labels - Throwablepublic static VisibilityLabelsProtos.VisibilityLabelsResponse setAuths(org.apache.hadoop.conf.Configuration conf, String[] auths, String user) throws Throwable
conf - auths - user - Throwablepublic static VisibilityLabelsProtos.GetAuthsResponse getAuths(org.apache.hadoop.conf.Configuration conf, String user) throws Throwable
conf - user - Throwablepublic static VisibilityLabelsProtos.VisibilityLabelsResponse clearAuths(org.apache.hadoop.conf.Configuration conf, String[] auths, String user) throws Throwable
conf - auths - user - ThrowableCopyright © 2014 The Apache Software Foundation. All rights reserved.