summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java b/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java
index 42a7089..3a707c4 100644
--- a/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java
+++ b/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java
@@ -511,7 +511,7 @@ public class TopicServiceImpl implements TopicService {
//
- // String permission = aaf.aafPermissionString(topicName, "manage");
+
// if(!aaf.aafAuthentication(dmaapContext.getRequest(), permission))
// {
// LOGGER.error("Failed to permit write access to producer [" +
@@ -521,7 +521,7 @@ public class TopicServiceImpl implements TopicService {
// DMaaPResponseCode.ACCESS_NOT_PERMITTED.getResponseCode(),
// errorMessages.getNotPermitted1()+" <Grant publish permissions>
- // LOGGER.info(errRes);
+
// throw new DMaaPAccessDeniedException(errRes);
// }
// }
@@ -576,7 +576,7 @@ public class TopicServiceImpl implements TopicService {
// DMaaPResponseCode.ACCESS_NOT_PERMITTED.getResponseCode(),
// errorMessages.getNotPermitted1()+" <Revoke publish permissions>
- // LOGGER.info(errRes);
+
// throw new DMaaPAccessDeniedException(errRes);
//