From 3fc873da82e05197fef60df2a4db67ddf0fc8256 Mon Sep 17 00:00:00 2001 From: Sai Gandham Date: Mon, 3 Dec 2018 09:51:52 -0600 Subject: Add shiro permission mapping revert to 2.1.9 Issue-ID: AAF-655 Change-Id: I306f05b75fe856ccecba435461ef0cb71d851b2a Signed-off-by: Sai Gandham --- shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shiro/src/main/java/org/onap') diff --git a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java index bfdc6bf..0a9dab9 100644 --- a/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java +++ b/shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java @@ -84,7 +84,7 @@ public class AAFAuthorizationInfo implements AuthorizationInfo { if(sPerms == null) { sPerms = new ArrayList(); for(org.onap.aaf.cadi.Permission p : pond) { - sPerms.add(p.getKey()); + sPerms.add(p.getKey().replace("|",":")); } } } -- cgit 1.2.3-korg