[PATCH 2 of 2] Defaulting to GGinA authentication in release script instead of client sources

Wald Commits scm-commit at wald.intevation.org
Tue Mar 4 17:29:42 CET 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1393949988 -3600
# Node ID 84889738d0291a7d957af272b29501f65bc60b1e
# Parent  2a5cc260c49252ee3112f0eed95b9dc86dce4035
Defaulting to GGinA authentication in release script instead of client sources.

diff -r 2a5cc260c492 -r 84889738d029 contrib/make_flys_release/make_release.sh
--- 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 at http://localhost:8888 at http://localhost:$TOMCAT_PORT at 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 at 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
 
diff -r 2a5cc260c492 -r 84889738d029 gwt-client/src/main/webapp/WEB-INF/web.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>


More information about the Dive4elements-commits mailing list