comparison 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
comparison
equal deleted inserted replaced
2949:abf267708672 2950:192eddbbd4cf
5 5
6 <web-app> 6 <web-app>
7 7
8 <context-param> 8 <context-param>
9 <param-name>server-url</param-name> 9 <param-name>server-url</param-name>
10 <param-value>http://localhost:8181</param-value> 10 <param-value>http://localhost:8188</param-value>
11 </context-param> 11 </context-param>
12 12
13 <!-- Servlets --> 13 <!-- Servlets -->
14 <servlet> 14 <servlet>
15 <servlet-name>BaseServlet</servlet-name> 15 <servlet-name>BaseServlet</servlet-name>
466 <servlet-mapping> 466 <servlet-mapping>
467 <servlet-name>themelisting</servlet-name> 467 <servlet-name>themelisting</servlet-name>
468 <url-pattern>/flys/themelisting</url-pattern> 468 <url-pattern>/flys/themelisting</url-pattern>
469 </servlet-mapping> 469 </servlet-mapping>
470 470
471 <servlet>
472 <servlet-name>login</servlet-name>
473 <servlet-class>de.intevation.flys.client.server.LoginServlet</servlet-class>
474 </servlet>
475
476 <servlet-mapping>
477 <servlet-name>login</servlet-name>
478 <url-pattern>/flys/login</url-pattern>
479 </servlet-mapping>
480
471 <filter> 481 <filter>
472 <filter-name>GGInAFilter</filter-name> 482 <filter-name>GGInAFilter</filter-name>
473 <filter-class>de.intevation.flys.client.server.GGInAFilter</filter-class> 483 <filter-class>de.intevation.flys.client.server.GGInAFilter</filter-class>
484 <init-param>
485 <param-name>deactivate</param-name>
486 <param-value>0</param-value>
487 </init-param>
474 </filter> 488 </filter>
489
475 <filter-mapping> 490 <filter-mapping>
476 <filter-name>GGInAFilter</filter-name> 491 <filter-name>GGInAFilter</filter-name>
477 <url-pattern>/*</url-pattern> 492 <url-pattern>/*</url-pattern>
478 </filter-mapping> 493 </filter-mapping>
479 494

http://dive4elements.wald.intevation.org