summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/att/dmf/mr/security/DMaaPAAFAuthenticatorImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/att/dmf/mr/security/DMaaPAAFAuthenticatorImpl.java b/src/main/java/com/att/dmf/mr/security/DMaaPAAFAuthenticatorImpl.java
index ed0893d..e4e24cd 100644
--- a/src/main/java/com/att/dmf/mr/security/DMaaPAAFAuthenticatorImpl.java
+++ b/src/main/java/com/att/dmf/mr/security/DMaaPAAFAuthenticatorImpl.java
@@ -56,7 +56,7 @@ public class DMaaPAAFAuthenticatorImpl implements DMaaPAAFAuthenticator {
String permission = "";
String nameSpace ="";
- if(topicName.contains(".") && topicName.contains("com.att")) {
+ if(topicName.contains(".") && topicName.contains("org.onap")) {
nameSpace = topicName.substring(0,topicName.lastIndexOf("."));
}
@@ -64,13 +64,13 @@ public class DMaaPAAFAuthenticatorImpl implements DMaaPAAFAuthenticator {
nameSpace = null;
nameSpace= com.att.ajsc.filemonitor.AJSCPropertiesMap.getProperty(CambriaConstants.msgRtr_prop,"defaultNSforUEB");
- if(null==nameSpace)nameSpace="com.att.dmaap.mr.ueb";
+ if(null==nameSpace)nameSpace="org.onap.dmaap.mr";
}
- permission = nameSpace+".mr.topic|:topic."+topicName+"|"+action;
+ permission = nameSpace+".topic|:topic."+topicName+"|"+action;
return permission;
}