diff flys-client/src/main/webapp/WEB-INF/web.xml @ 2950:192eddbbd4cf

Implement a login page to be able to authenticate a user The username and password requested by the login.jsp are send to the LoginServlet. The credentials are afterwards used to authenticate the user against GGinA. flys-client/trunk@4928 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 11 Jul 2012 10:37:10 +0000
parents e740c43e6f5b
children 75e9eab05ee4
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/web.xml	Wed Jul 11 10:29:23 2012 +0000
+++ b/flys-client/src/main/webapp/WEB-INF/web.xml	Wed Jul 11 10:37:10 2012 +0000
@@ -7,7 +7,7 @@
 
     <context-param>
         <param-name>server-url</param-name>
-        <param-value>http://localhost:8181</param-value>
+        <param-value>http://localhost:8188</param-value>
     </context-param>
   
   <!-- Servlets -->
@@ -468,10 +468,25 @@
     <url-pattern>/flys/themelisting</url-pattern>
   </servlet-mapping>
 
+  <servlet>
+    <servlet-name>login</servlet-name>
+    <servlet-class>de.intevation.flys.client.server.LoginServlet</servlet-class>
+  </servlet>
+
+  <servlet-mapping>
+    <servlet-name>login</servlet-name>
+    <url-pattern>/flys/login</url-pattern>
+  </servlet-mapping>
+
   <filter>
     <filter-name>GGInAFilter</filter-name>
     <filter-class>de.intevation.flys.client.server.GGInAFilter</filter-class>
+    <init-param>
+        <param-name>deactivate</param-name>
+        <param-value>0</param-value>
+    </init-param>
   </filter>
+
   <filter-mapping>
     <filter-name>GGInAFilter</filter-name>
     <url-pattern>/*</url-pattern>

http://dive4elements.wald.intevation.org