[ 
https://issues.apache.org/jira/browse/HBASE-10916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968135#comment-13968135
 ] 

Anoop Sam John commented on HBASE-10916:
----------------------------------------

The SLG is a public interface exposed.
{code}
@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface ScanLabelGenerator extends Configurable
{code}
What is ur call on changing the name now Andy?
Also we might better change the signature of the method in it considering we 
will have a chain of SLGs now
{code}
public List<String> getLabels(User user, Authorizations authorizations);
{code}
be better changed to
{code}
public List<String> getAuths(User user, List<String> auths);
{code}

> [VisibilityController] Stackable ScanLabelGenerators
> ----------------------------------------------------
>
>                 Key: HBASE-10916
>                 URL: https://issues.apache.org/jira/browse/HBASE-10916
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Assignee: Anoop Sam John
>             Fix For: 0.99.0, 0.98.2
>
>
> The ScanLabelGenerator is used by the VisibilityController to assemble the 
> effective label set for a user in the RPC context before processing any 
> request. Currently only one implementation of this interface can be 
> installed, although which implementation to use can be specified in the site 
> file. Instead it should be possible to stack multiple implementations of this 
> component the same way we do coprocessors, installed with explicit priority 
> with ties broken by a counter, where those implementations installed later in 
> the chain have an opportunity to modify the pending effective label set.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to