changeset 7775:84889738d029

Defaulting to GGinA authentication in release script instead of client sources.
author Tom Gottfried <tom@intevation.de>
date Tue, 04 Mar 2014 17:19:48 +0100
parents 2a5cc260c492
children b972c7e1bfbe
files contrib/make_flys_release/make_release.sh gwt-client/src/main/webapp/WEB-INF/web.xml
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/make_flys_release/make_release.sh	Tue Mar 04 15:23:50 2014 +0100
+++ b/contrib/make_flys_release/make_release.sh	Tue Mar 04 17:19:48 2014 +0100
@@ -89,6 +89,9 @@
 DGM_PATH=${DGM_PATH:-/vol1/projects/Geospatial/flys-3.0/testdaten/dami_dgms/}
 LOG_DIR=/var/log/flys
 
+# Client configuration
+AUTH=${AUTH:-GGinA}
+
 OPTS=`getopt -o ?w:,t,o \
      -l help,oracle \
      -n $0 -- "$@"`
@@ -196,6 +199,9 @@
        -e "s@http://localhost:8888@http://localhost:$TOMCAT_PORT@g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml
 
+sed -i -e "s@<param-value>plain</param-value>@<param-value>$AUTH</param-value>@" \
+    $FLYS_SOURCE_DIR/river/gwt-client/src/main/webapp/WEB-INF/web.xml
+
 sed -i -e "s@https://flys3-devel.bafg.de/wiki@${WIKI_URL}@g" \
     $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml
 
--- a/gwt-client/src/main/webapp/WEB-INF/web.xml	Tue Mar 04 15:23:50 2014 +0100
+++ b/gwt-client/src/main/webapp/WEB-INF/web.xml	Tue Mar 04 17:19:48 2014 +0100
@@ -18,7 +18,7 @@
 
     <context-param>
         <param-name>authentication</param-name>
-        <param-value>GGInA</param-value>
+        <param-value>plain</param-value>
     </context-param>
 
     <context-param>

http://dive4elements.wald.intevation.org