Configuration and Auto-Certificates
[aaf/authz.git] / auth / auth-oauth / src / main / java / org / onap / aaf / auth / oauth / service / JSONPermLoaderFactory.java
index ea5c595..f440086 100644 (file)
@@ -99,9 +99,9 @@ public class JSONPermLoaderFactory {
                                                } else {
                                                        sb.append(',');
                                                }
-                                               sb.append("{\"type\":\"");
+                                               sb.append("{\"ns\":\"");
                                                sb.append(d.ns);
-                                               sb.append('.');
+                                               sb.append("\",\"type\":\"");
                                                sb.append(d.type);
                                                sb.append("\",\"instance\":\"");
                                                sb.append(d.instance);