Class EnforcingScanLabelGenerator
java.lang.Object
org.apache.hadoop.hbase.security.visibility.EnforcingScanLabelGenerator
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,ScanLabelGenerator
This ScanLabelGenerator enforces a set of predefined authorizations for a given user, the set
defined by the admin using the VisibilityClient admin interface or the set_auths shell command.
Any authorizations requested with Scan#authorizations will be ignored.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate VisibilityLabelsCacheprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
-
conf
-
labelsCache
-
-
Constructor Details
-
EnforcingScanLabelGenerator
public EnforcingScanLabelGenerator()
-
-
Method Details
-
setConf
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
getConf
- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
getLabels
Description copied from interface:ScanLabelGeneratorHelps to get a list of lables associated with an UGI- Specified by:
getLabelsin interfaceScanLabelGenerator- Returns:
- The labels
-