aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-fe
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@intl.att.com>2020-03-12 19:50:02 +0200
committerOfir Sonsino <os0695@intl.att.com>2020-03-12 20:03:01 +0200
commit0bce751d160b7f95fcfb6a8ac1e29bad018862bc (patch)
tree47f1b7400e1adf1eab13c3892f381acf3b9b5698 /catalog-fe
parentdf23f52a13b234c33b58d3bdf4e9ce44cd0f078f (diff)
Disable SecurityFilter
Bumping version to 1.6.2 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..1c4d0fcb06 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.6.2-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>