summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorsu622b <sunil.unnava@att.com>2018-04-03 16:00:44 -0400
committersu622b <sunil.unnava@att.com>2018-04-03 16:07:55 -0400
commitc0f25276742e2b7b232718d5b512c1d78797b585 (patch)
tree83d86f9a8fbb0085860fb271a55b382e70bd3716 /src/main/java
parent56fe8d741c9af78b3ec67db270f5659d73530f43 (diff)
romoved the cookie check while creating the topicv1.1.3
Issue-ID: DMAAP-252 Change-Id: I394975050b0fcb0bfda0c6ddedad126ebc8aff72 Signed-off-by: su622b <sunil.unnava@att.com>
Diffstat (limited to 'src/main/java')
-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");