summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/basic-auth-conf
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-03 03:59:19 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-12-03 03:59:19 +0000
commit8d13a8e4dbc51852b02c647b8c76b59a1922049b (patch)
tree4708ff546febb6a9457daf967f7b8893610d8d06 /sca-cpp/trunk/modules/http/basic-auth-conf
parent6f3e045ffeef4645a182ccc80ecd37e1803dd44d (diff)
Add scripts to support 'Require valid-user' and 'Require group' authz configurations separately.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/basic-auth-conf')
-rwxr-xr-xsca-cpp/trunk/modules/http/basic-auth-conf10
1 files changed, 0 insertions, 10 deletions
diff --git a/sca-cpp/trunk/modules/http/basic-auth-conf b/sca-cpp/trunk/modules/http/basic-auth-conf
index 74f4a61959..c3018e1174 100755
--- a/sca-cpp/trunk/modules/http/basic-auth-conf
+++ b/sca-cpp/trunk/modules/http/basic-auth-conf
@@ -25,8 +25,6 @@ root=`readlink -f $1`
conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"`
host=`echo $conf | awk '{ print $6 }'`
-httpd_prefix=`cat $here/httpd.prefix`
-
# Generate basic authentication configuration
cat >>$root/conf/auth.conf <<EOF
# Generated by: basic-auth-conf $*
@@ -36,16 +34,8 @@ cat >>$root/conf/auth.conf <<EOF
AuthType Basic
AuthName "$host"
AuthBasicProvider file
-AuthUserFile "$root/conf/httpd.passwd"
Require valid-user
</Location>
EOF
-# Create test users
-touch $root/conf/httpd.passwd
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd test test 2>/dev/null
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd admin admin 2>/dev/null
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd foo foo 2>/dev/null
-$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd bar bar 2>/dev/null
-