Add shiro permission mapping 44/74144/2
authorSai Gandham <sg481n@att.com>
Mon, 3 Dec 2018 15:51:52 +0000 (09:51 -0600)
committerSai Gandham <sg481n@att.com>
Mon, 3 Dec 2018 16:24:10 +0000 (10:24 -0600)
revert to 2.1.9

Issue-ID: AAF-655
Change-Id: I306f05b75fe856ccecba435461ef0cb71d851b2a
Signed-off-by: Sai Gandham <sg481n@att.com>
shiro/src/main/java/org/onap/aaf/cadi/shiro/AAFAuthorizationInfo.java
version.properties

index bfdc6bf..0a9dab9 100644 (file)
@@ -84,7 +84,7 @@ public class AAFAuthorizationInfo implements AuthorizationInfo {
                        if(sPerms == null) {
                                sPerms = new ArrayList<String>(); 
                                for(org.onap.aaf.cadi.Permission p : pond) {
-                                       sPerms.add(p.getKey());
+                                       sPerms.add(p.getKey().replace("|",":"));
                                }
                        }
                }
index a3a89b0..d77c884 100644 (file)
@@ -27,7 +27,7 @@
 
 major=2
 minor=1
-patch=8
+patch=9
 
 base_version=${major}.${minor}.${patch}