Adding login filters for authentication 13/5113/1
authorARULNA <arul.nambi@amdocs.com>
Mon, 19 Jun 2017 16:08:55 +0000 (12:08 -0400)
committerARULNA <arul.nambi@amdocs.com>
Mon, 19 Jun 2017 16:09:13 +0000 (12:09 -0400)
Change-Id: Ib4da370c986b6a86a606cccd118884b66ac1b1fa
Signed-off-by: ARULNA <arul.nambi@amdocs.com>
src/main/config/ajsc-override-web.xml
src/main/config/runner-web.xml

index 59071d6..0b3e693 100644 (file)
@@ -3,7 +3,12 @@
 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
        metadata-complete="false" version="3.0">
-
+       
+       <filter-mapping>
+               <filter-name>LoginFilter</filter-name>
+               <url-pattern>/*</url-pattern>
+       </filter-mapping>
+       
        <filter-mapping>
                <filter-name>ElasticSearchSynchronizerFilter</filter-name>
                <url-pattern>/nothingShouldBeSentHere/*</url-pattern>
index abfdf74..b855800 100644 (file)
                <servlet-class>org.openecomp.sparky.inventory.servlet.EntityCountHistoryServlet</servlet-class>
        </servlet>
 
-    
+    <filter>
+               <filter-name>LoginFilter</filter-name>
+               <filter-class>org.openecomp.sparky.security.filter.LoginFilter</filter-class>
+       </filter>
 
        <filter>
                <filter-name>ElasticSearchSynchronizerFilter</filter-name>