X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ECOMP-PAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fpolicy%2Fpap%2Fxacml%2FrestAuth%2FPAPAuthenticationFilter.java;h=2352beb4da2e9a124291082f928efda404b33999;hb=refs%2Fchanges%2F19%2F3719%2F12;hp=817629420344fac5abff1b45087a6bd62560729f;hpb=39fb0f30472777e4b60d6a7ac8aa4eb9773961ff;p=policy%2Fengine.git diff --git a/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/restAuth/PAPAuthenticationFilter.java b/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/restAuth/PAPAuthenticationFilter.java index 817629420..2352beb4d 100644 --- a/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/restAuth/PAPAuthenticationFilter.java +++ b/ECOMP-PAP-REST/src/main/java/org/openecomp/policy/pap/xacml/restAuth/PAPAuthenticationFilter.java @@ -34,7 +34,6 @@ import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.openecomp.policy.pap.xacml.rest.XACMLPapServlet; /** * Servlet Filter implementation class PAPAuthenticationFilter @@ -95,8 +94,9 @@ public class PAPAuthenticationFilter implements Filter { logger.info("Request comes from Ecomp Portal"); //Spring dispatcher servlet is at the end of the filter chain at /pap/ecomp/ path System.out.println("New Request URI: " + url); - //request.getRequestDispatcher(url).forward(request, alteredResponse); filter.doFilter(request, response); + /*url = url.substring(url.indexOf("/pap/")+4); + request.getRequestDispatcher(url).forward(request, response);*/ } }