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

Bolke de Bruin commented on RANGER-2754:
----------------------------------------

[~ppanda-beta] I think the configuration is correct. wildcard=true and 
ignorecase=true in the service definition. This results in 

{code}

                // If optWildcard is true
                //   If ('?' found or non-contiguous '*'s found in policyValue)
                //         needWildcardMatch = true
                //       End
                //
                //       wildcardStartIdx is set to index of first '*' in 
policyValue or -1 if '*' is not found in policyValue, and
                //       wildcardEndIdx is set to index of last '*' in 
policyValue or -1 if '*' is not found in policyValue
                // Else
                //       needWildcardMatch is set to false
                // End

                if (needWildcardMatch) { // test?, test*a*, test*a*b, *test*a
                        ret = optIgnoreCase ? new 
CaseInsensitiveWildcardMatcher(policyValue) : new 
CaseSensitiveWildcardMatcher(policyValue);
                } else if (wildcardStartIdx == -1) { // test, testa, testab
                        ret = optIgnoreCase ? new 
CaseInsensitiveStringMatcher(policyValue) : new 
CaseSensitiveStringMatcher(policyValue);
{code}

So I think your value is probably incorrect.

> Update presto dependency and implement row/column level security
> ----------------------------------------------------------------
>
>                 Key: RANGER-2754
>                 URL: https://issues.apache.org/jira/browse/RANGER-2754
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>    Affects Versions: master
>            Reporter: Bolke de Bruin
>            Assignee: Bolke de Bruin
>            Priority: Major
>         Attachments: 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> 0001-RANGER-2754-Upgrade-presto-dependency-and-improve-lo.patch, 
> RANGER-2754-v2.patch, RANGER-2754.patch
>
>
> 1. PrestoSql has changed its Security API hence the Ranger plugin has stopped 
> working for versions > ~321. 
> 2. Presto master now has row/column level security support



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to