Mercurial > dive4elements > river
comparison gwt-client/src/main/webapp/WEB-INF/web.xml @ 8505:b1580e4d342a
(issue1777) Add options to change login redirect and disable login
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 16 Dec 2014 14:16:10 +0100 |
parents | fe43340352bc |
children | 062a1da97ea1 |
comparison
equal
deleted
inserted
replaced
8504:a3bc62722239 | 8505:b1580e4d342a |
---|---|
19 | 19 |
20 <context-param> | 20 <context-param> |
21 <!-- URL to be redirected after successfull authentication --> | 21 <!-- URL to be redirected after successfull authentication --> |
22 <param-name>redirect-url</param-name> | 22 <param-name>redirect-url</param-name> |
23 <param-value>FLYS.html</param-value> | 23 <param-value>FLYS.html</param-value> |
24 </context-param> | |
25 | |
26 <context-param> | |
27 <!-- URL to be redirected to when a user is not authenticated. | |
28 If this starts with http it is treated as an absolute url. | |
29 Otherwise it is interpreted as a relative page. --> | |
30 <param-name>unauth-redirect-url</param-name> | |
31 <param-value>/login.jsp</param-value> | |
32 </context-param> | |
33 | |
34 <context-param> | |
35 <!-- Set this to disable the login page. Accessing the login | |
36 page will trigger a redirect to the unauth-redirect-url if | |
37 the unauth redirect is not the login page. --> | |
38 <param-name>disable-login</param-name> | |
39 <param-value>false</param-value> | |
24 </context-param> | 40 </context-param> |
25 | 41 |
26 <context-param> | 42 <context-param> |
27 <param-name>authentication</param-name> | 43 <param-name>authentication</param-name> |
28 <param-value>plain</param-value> | 44 <param-value>plain</param-value> |