[
https://issues.apache.org/jira/browse/HBASE-11438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095826#comment-14095826
]
Anoop Sam John commented on HBASE-11438:
----------------------------------------
Like when we have 2 labels, CONFIDENTIAL and PRIVATE when we look for cells
with both labels(CONFIDENTIAL & PRIVATE) we have the Authorizations as
new Authorizations("CONFIDENTIAL" , "PRIVATE");
But when this is like one label only CONFIDENTIAL&PRIVATE and we look for cells
with this status we (may) have like
new Authorizations("\"CONFIDENTIAL&PRIVATE\"");
In the 1st case, if user by mistake makes the incorrect way of passing the auth
labels, we validate and fail fast.
Yes it is ok that we better document the way to pass the auth labels during
reads. (and not going with validation and so no need for quote)
> [Visibility Controller] Support UTF8 character as Visibility Labels
> -------------------------------------------------------------------
>
> Key: HBASE-11438
> URL: https://issues.apache.org/jira/browse/HBASE-11438
> Project: HBase
> Issue Type: Improvement
> Components: security
> Affects Versions: 0.98.4
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.98.6
>
> Attachments: HBASE-11438_v1.patch, HBASE-11438_v2.patch,
> HBASE-11438_v3.patch, HBASE-11438_v4.patch, HBASE-11438_v5.patch,
> HBASE-11438_v6.patch, HBASE-11438_v7.patch, HBASE-11438_v8.patch,
> HBASE-11438_v9.patch
>
>
> This would be an action item that we would be addressing so that the
> visibility labels could have UTF8 characters in them. Also allow the user to
> use a client supplied API that allows to specify the visibility labels inside
> double quotes such that UTF8 characters and cases like &, |, ! and double
> quotes itself could be specified with proper escape sequence. Accumulo too
> provides one such API in the client side.
--
This message was sent by Atlassian JIRA
(v6.2#6252)