Class FeedUserAuthScanLabelGenerator
java.lang.Object
org.apache.hadoop.hbase.security.visibility.FeedUserAuthScanLabelGenerator
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable,- ScanLabelGenerator
If the passed in authorization is null, then this ScanLabelGenerator feeds the set of predefined
 authorization labels for the given user. That is the set defined by the admin using the
 VisibilityClient admin interface or the set_auths shell command. Otherwise the passed in
 authorization labels are returned with no change. Note: This SLG should not be used alone because
 it does not check the passed in authorization labels against what the user is authorized for.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate VisibilityLabelsCacheprivate static final org.slf4j.Logger
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
LOG
- 
conf
- 
labelsCache
 
- 
- 
Constructor Details- 
FeedUserAuthScanLabelGeneratorpublic FeedUserAuthScanLabelGenerator()
 
- 
- 
Method Details- 
setConf- Specified by:
- setConfin interface- org.apache.hadoop.conf.Configurable
 
- 
getConf- Specified by:
- getConfin interface- org.apache.hadoop.conf.Configurable
 
- 
getLabelsDescription copied from interface:ScanLabelGeneratorHelps to get a list of lables associated with an UGI- Specified by:
- getLabelsin interface- ScanLabelGenerator
- Returns:
- The labels
 
 
-