romoved the cookie check while creating the topic 89/40789/1 v1.1.3
authorsu622b <sunil.unnava@att.com>
Tue, 3 Apr 2018 20:00:44 +0000 (16:00 -0400)
committersu622b <sunil.unnava@att.com>
Tue, 3 Apr 2018 20:07:55 +0000 (16:07 -0400)
Issue-ID: DMAAP-252
Change-Id: I394975050b0fcb0bfda0c6ddedad126ebc8aff72
Signed-off-by: su622b <sunil.unnava@att.com>
src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java

index a9c1882..f539199 100644 (file)
@@ -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");