summaryrefslogtreecommitdiffstats
path: root/catalog-fe
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@intl.att.com>2020-03-12 20:52:42 +0200
committerOfir Sonsino <os0695@intl.att.com>2020-03-12 20:52:42 +0200
commit09d8789c2439fe12f86d0eb301216faca7d9c6b7 (patch)
treed28bbae3ee669d26ee0c4e32f0ef2106cbad62a5 /catalog-fe
parentebda3c95e2ff975b34033de0640f0a137b8a1fa9 (diff)
Disable SecurityFilter
Bumping version to 1.7.0 Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff Issue-ID: SDC-2825 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
Diffstat (limited to 'catalog-fe')
-rw-r--r--catalog-fe/pom.xml2
-rw-r--r--catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java3
-rw-r--r--catalog-fe/src/main/webapp/WEB-INF/web.xml28
3 files changed, 17 insertions, 16 deletions
diff --git a/catalog-fe/pom.xml b/catalog-fe/pom.xml
index 850e0aa619..c45898a805 100644
--- a/catalog-fe/pom.xml
+++ b/catalog-fe/pom.xml
@@ -8,7 +8,7 @@
<parent>
<groupId>org.openecomp.sdc</groupId>
<artifactId>sdc-main</artifactId>
- <version>1.6.1-SNAPSHOT</version>
+ <version>1.7.0-SNAPSHOT</version>
</parent>
<dependencies>
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java
index cb4b901ac6..c9d660a48e 100644
--- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java
+++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/PortalServlet.java
@@ -151,7 +151,8 @@ public class PortalServlet extends HttpServlet {
firstNameFromCookie = getValueFromCookie(request, Constants.HTTP_CSP_FIRSTNAME );
lastNameFromCookie = getValueFromCookie(request, Constants.HTTP_CSP_LASTNAME);
- addAuthCookie(response, userId, firstNameFromCookie, lastNameFromCookie);
+ //To be fixed
+ //addAuthCookie(response, userId, firstNameFromCookie, lastNameFromCookie);
RequestDispatcher rd = request.getRequestDispatcher("index.html");
rd.forward(mutableRequest, response);
} else {
diff --git a/catalog-fe/src/main/webapp/WEB-INF/web.xml b/catalog-fe/src/main/webapp/WEB-INF/web.xml
index 1f259d9fde..8f64a2b336 100644
--- a/catalog-fe/src/main/webapp/WEB-INF/web.xml
+++ b/catalog-fe/src/main/webapp/WEB-INF/web.xml
@@ -73,16 +73,16 @@
<async-supported>true</async-supported>
</filter>
- <filter>
- <filter-name>SecurityFilter</filter-name>
- <filter-class>org.openecomp.sdc.fe.filters.SecurityFilter</filter-class>
- <async-supported>true</async-supported>
- <init-param>
- <param-name>excludedUrls</param-name>
- <!-- Comma separated list of excluded servlet URLs -->
- <param-value>/config,/configmgr,/rest</param-value>
- </init-param>
- </filter>
+<!-- <filter>-->
+<!-- <filter-name>SecurityFilter</filter-name>-->
+<!-- <filter-class>org.openecomp.sdc.fe.filters.SecurityFilter</filter-class>-->
+<!-- <async-supported>true</async-supported>-->
+<!-- <init-param>-->
+<!-- <param-name>excludedUrls</param-name>-->
+<!-- &lt;!&ndash; Comma separated list of excluded servlet URLs &ndash;&gt;-->
+<!-- <param-value>/config,/configmgr,/rest</param-value>-->
+<!-- </init-param>-->
+<!-- </filter>-->
<filter>
<filter-name>gzipFilter</filter-name>
@@ -95,10 +95,10 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>SecurityFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
+<!-- <filter-mapping>-->
+<!-- <filter-name>SecurityFilter</filter-name>-->
+<!-- <url-pattern>/*</url-pattern>-->
+<!-- </filter-mapping>-->
<filter-mapping>
<filter-name>gzipFilter</filter-name>