diff options
author | ARULNA <arul.nambi@amdocs.com> | 2017-06-19 12:08:55 -0400 |
---|---|---|
committer | ARULNA <arul.nambi@amdocs.com> | 2017-06-19 12:09:13 -0400 |
commit | f8de1f25e7c71380a61b96d5251f224e3a4c821f (patch) | |
tree | 08c6bd0fc879b4d04f77bfe4a2538ad88c8081b2 /src/main | |
parent | 43a5d05695c808f83bfb08455bf74a78c6af08fd (diff) |
Adding login filters for authentication
Change-Id: Ib4da370c986b6a86a606cccd118884b66ac1b1fa
Signed-off-by: ARULNA <arul.nambi@amdocs.com>
Diffstat (limited to 'src/main')
-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> |