|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.security.visibility.VisibilityClient
@InterfaceAudience.Public @InterfaceStability.Unstable public class VisibilityClient
Utility client for doing visibility labels admin operations.
| Constructor Summary | |
|---|---|
VisibilityClient()
|
|
| Method Summary | |
|---|---|
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
addLabel(org.apache.hadoop.conf.Configuration conf,
String label)
Utility method for adding label to the system. |
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
addLabels(org.apache.hadoop.conf.Configuration conf,
String[] labels)
Utility method for adding labels to the system. |
static org.apache.hadoop.hbase.protobuf.generated.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 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse |
getAuths(org.apache.hadoop.conf.Configuration conf,
String user)
|
static boolean |
isCellVisibilityEnabled(org.apache.hadoop.conf.Configuration conf)
Return true if cell visibility features are supported and enabled |
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse |
listLabels(org.apache.hadoop.conf.Configuration conf,
String regex)
Retrieve the list of visibility labels defined in the system. |
static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse |
setAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
Sets given labels globally authorized for the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VisibilityClient()
| Method Detail |
|---|
public static boolean isCellVisibilityEnabled(org.apache.hadoop.conf.Configuration conf)
throws IOException
conf -
IOException
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabel(org.apache.hadoop.conf.Configuration conf,
String label)
throws Throwable
conf - label -
Throwable
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabels(org.apache.hadoop.conf.Configuration conf,
String[] labels)
throws Throwable
conf - labels -
Throwable
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse setAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
throws Throwable
conf - auths - user -
Throwable
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse getAuths(org.apache.hadoop.conf.Configuration conf,
String user)
throws Throwable
conf - user -
Throwable
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse clearAuths(org.apache.hadoop.conf.Configuration conf,
String[] auths,
String user)
throws Throwable
conf - auths - user -
Throwable
public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse listLabels(org.apache.hadoop.conf.Configuration conf,
String regex)
throws Throwable
conf - regex - The regular expression to filter which labels are returned.
Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||