This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new d157019  RANGER-2766: enable implementations of 
RangerAccessResourceImpl to provide custom stringified value
d157019 is described below

commit d157019bf84cea2208001468e2d1affc8c025b3d
Author: Madhan Neethiraj <mad...@apache.org>
AuthorDate: Thu Mar 19 08:49:47 2020 -0700

    RANGER-2766: enable implementations of RangerAccessResourceImpl to provide 
custom stringified value
---
 .../apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
 
b/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
index 93810ae..256f9a1 100644
--- 
a/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
+++ 
b/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
@@ -261,4 +261,8 @@ public class RangerAccessResourceImpl implements 
RangerMutableResource {
 
                return sb;
        }
+
+       protected String getStringifiedValue() { return stringifiedValue; }
+
+       protected void setStringifiedValue(String val) { this.stringifiedValue 
= val; }
 }

Reply via email to