Hi Nilkanth,
It's basically up to the provided SecurityManager how to handle the
ResourcePermission passed into it.
So in your implementation could be as simple as:
if (rp.getKey() != null && rp.getKey().contains("system") {...}
Are you perhaps looking at a specific SecurityManager implementation?
--Jens
On Thu, Mar 1, 2018 at 3:06 AM, Nilkanth Patel <[email protected]>
wrote:
> Hi Team,
>
> I am exploring row-level security with Geode and observed that exact key
> has to be provided in security configuration (for example:
> DATA:READ:MyRegion:*system*).
>
> Is there any way to provide Key as a regex (*admin*) ..? I want to achieve
> row-level security on all keys containing *system* as a sub-string.
> Providing each key in security-config is very cumbersome.
>
> -Nilkanth.
>