summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java b/src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java
index a9c1882..f539199 100644
--- a/src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java
+++ b/src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java
@@ -224,8 +224,7 @@ public class TopicServiceImpl implements TopicService {
throw new DMaaPAccessDeniedException(errRes);
}*/
- if (user == null && (null!=dmaapContext.getRequest().getHeader("Authorization") ||
- null != dmaapContext.getRequest().getHeader("cookie"))) {
+ if (user == null && (null!=dmaapContext.getRequest().getHeader("Authorization"))) {
//if (user == null && (null!=dmaapContext.getRequest().getHeader("Authorization") || null != dmaapContext.getRequest().getHeader("cookie"))) {
// ACL authentication is not provided so we will use the aaf authentication
LOGGER.info("Authorization the topic");