//
- // String permission = aaf.aafPermissionString(topicName, "manage");
+
// if(!aaf.aafAuthentication(dmaapContext.getRequest(), permission))
// {
// LOGGER.error("Failed to permit write access to producer [" +
// DMaaPResponseCode.ACCESS_NOT_PERMITTED.getResponseCode(),
// errorMessages.getNotPermitted1()+" <Grant publish permissions>
- // LOGGER.info(errRes);
+
// throw new DMaaPAccessDeniedException(errRes);
// }
// }
// DMaaPResponseCode.ACCESS_NOT_PERMITTED.getResponseCode(),
// errorMessages.getNotPermitted1()+" <Revoke publish permissions>
- // LOGGER.info(errRes);
+
// throw new DMaaPAccessDeniedException(errRes);
//