From: Instrumental Date: Fri, 7 Sep 2018 04:45:04 +0000 (-0500) Subject: quoted props X-Git-Tag: 2.1.2~59^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=89c662c2a7c50eb533256497de0420ba1176fe13;p=aaf%2Fauthz.git quoted props Issue-ID: AAF-420 Change-Id: I76f8989ef3499ace13cb93e9ff47493754ab02fc Signed-off-by: Instrumental --- diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java b/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java index 6a932c41..3d15b09d 100644 --- a/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java +++ b/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java @@ -209,6 +209,11 @@ public class PropAccess implements Access { Object value = es.getValue(); if(value instanceof String) { String trim = ((String)value).trim(); + // Remove Beginning/End Quotes, which might be there if mixed with Bash Props + int s = 0, e=trim.length()-1; + if(s