From: su622b Date: Tue, 3 Apr 2018 20:00:44 +0000 (-0400) Subject: romoved the cookie check while creating the topic X-Git-Tag: v1.1.3^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c0f25276742e2b7b232718d5b512c1d78797b585;p=dmaap%2Fmessagerouter%2Fmsgrtr.git romoved the cookie check while creating the topic Issue-ID: DMAAP-252 Change-Id: I394975050b0fcb0bfda0c6ddedad126ebc8aff72 Signed-off-by: su622b --- 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");