org.apache.hadoop.hbase.security.visibility
Interface ScanLabelGenerator

All Superinterfaces:
org.apache.hadoop.conf.Configurable
All Known Implementing Classes:
DefinedSetFilterScanLabelGenerator, EnforcingScanLabelGenerator, FeedUserAuthScanLabelGenerator, SimpleScanLabelGenerator

@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface ScanLabelGenerator
extends org.apache.hadoop.conf.Configurable

This would be the interface which would be used add labels to the RPC context and this would be stored against the UGI.


Method Summary
 List<String> getLabels(User user, Authorizations authorizations)
          Helps to get a list of lables associated with an UGI
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Method Detail

getLabels

List<String> getLabels(User user,
                       Authorizations authorizations)
Helps to get a list of lables associated with an UGI

Parameters:
user -
authorizations -
Returns:
The labels


Copyright © 2015 The Apache Software Foundation. All rights reserved.