diff options
-rw-r--r-- | src/main/config/ajsc-override-web.xml | 7 | ||||
-rw-r--r-- | src/main/config/runner-web.xml | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/main/config/ajsc-override-web.xml b/src/main/config/ajsc-override-web.xml index 59071d6..0b3e693 100644 --- a/src/main/config/ajsc-override-web.xml +++ b/src/main/config/ajsc-override-web.xml @@ -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> diff --git a/src/main/config/runner-web.xml b/src/main/config/runner-web.xml index abfdf74..b855800 100644 --- a/src/main/config/runner-web.xml +++ b/src/main/config/runner-web.xml @@ -40,7 +40,10 @@ <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> |